You are here

protected property TestElementInfoManager::$elementInfo in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php \Drupal\Tests\Core\Render\TestElementInfoManager::elementInfo
  2. 10 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\Render

Code

protected $elementInfo = [
  'test' => [
    'foo' => [
      '#bar' => 'baz',
    ],
  ],
];