protected property TestElementInfoManager::$elementInfo in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php \Drupal\Tests\Core\Render\TestElementInfoManager::elementInfo
- 9 core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php \Drupal\Tests\Core\Render\TestElementInfoManager::elementInfo
Stores the available element information.
Type: array
Overrides ElementInfoManager::$elementInfo
File
- core/
tests/ Drupal/ Tests/ Core/ Render/ ElementInfoManagerTest.php, line 167 - Contains \Drupal\Tests\Core\Render\ElementInfoManagerTest.
Class
- TestElementInfoManager
- Provides a test custom element plugin.
Namespace
Drupal\Tests\Core\RenderCode
protected $elementInfo = [
'test' => [
'foo' => [
'#bar' => 'baz',
],
],
];