class TestElementInfoManager
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php \Drupal\Tests\Core\Render\TestElementInfoManager
Provides a test custom element plugin.
Hierarchy
- class \Drupal\Component\Plugin\PluginManagerBase extends \Drupal\Component\Plugin\PluginManagerInterface uses \Drupal\Component\Plugin\Discovery\DiscoveryTrait
- class \Drupal\Core\Plugin\DefaultPluginManager extends \Drupal\Component\Plugin\PluginManagerInterface, \Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface, \Drupal\Core\Cache\CacheableDependencyInterface uses \Drupal\Component\Plugin\Discovery\DiscoveryCachedTrait, \Drupal\Core\Cache\UseCacheBackendTrait implements \Drupal\Component\Plugin\PluginManagerBase
- class \Drupal\Core\Render\ElementInfoManager extends \Drupal\Core\Render\ElementInfoManagerInterface implements \Drupal\Core\Plugin\DefaultPluginManager
- class \Drupal\Tests\Core\Render\TestElementInfoManager implements \Drupal\Core\Render\ElementInfoManager
- class \Drupal\Core\Render\ElementInfoManager extends \Drupal\Core\Render\ElementInfoManagerInterface implements \Drupal\Core\Plugin\DefaultPluginManager
- class \Drupal\Core\Plugin\DefaultPluginManager extends \Drupal\Component\Plugin\PluginManagerInterface, \Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface, \Drupal\Core\Cache\CacheableDependencyInterface uses \Drupal\Component\Plugin\Discovery\DiscoveryCachedTrait, \Drupal\Core\Cache\UseCacheBackendTrait implements \Drupal\Component\Plugin\PluginManagerBase
Expanded class hierarchy of TestElementInfoManager
File
-
core/
tests/ Drupal/ Tests/ Core/ Render/ ElementInfoManagerTest.php, line 162
Namespace
Drupal\Tests\Core\RenderView source
class TestElementInfoManager extends ElementInfoManager {
/**
* {@inheritdoc}
*/
protected $elementInfo = [
'test' => [
'foo' => [
'#bar' => 'baz',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.