function ElementInfoManager::createInstance

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Render/ElementInfoManager.php \Drupal\Core\Render\ElementInfoManager::createInstance()
  2. 8.9.x core/lib/Drupal/Core/Render/ElementInfoManager.php \Drupal\Core\Render\ElementInfoManager::createInstance()
  3. 10 core/lib/Drupal/Core/Render/ElementInfoManager.php \Drupal\Core\Render\ElementInfoManager::createInstance()

Return value

\Drupal\Core\Render\Element\ElementInterface

Overrides PluginManagerBase::createInstance

1 call to ElementInfoManager::createInstance()
ElementInfoManager::buildInfo in core/lib/Drupal/Core/Render/ElementInfoManager.php
Builds up all element information.

File

core/lib/Drupal/Core/Render/ElementInfoManager.php, line 140

Class

ElementInfoManager
Provides a plugin manager for element plugins.

Namespace

Drupal\Core\Render

Code

public function createInstance($plugin_id, array $configuration = []) {
    return parent::createInstance($plugin_id, $configuration);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.