function ConfigurableTraitTest::testDefaultConfiguration
Tests ConfigurableTrait::defaultConfiguration.
@covers ::defaultConfiguration
File
-
core/
tests/ Drupal/ Tests/ Core/ Plugin/ ConfigurableTraitTest.php, line 26
Class
- ConfigurableTraitTest
- Tests for ConfigurableTrait.
Namespace
Drupal\Tests\Core\PluginCode
public function testDefaultConfiguration() : void {
/** @var \Drupal\Component\Plugin\ConfigurableInterface $configurable_plugin */
$configurable_plugin = new ConfigurableTestClass();
$this->assertSame([], $configurable_plugin->defaultConfiguration());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.