function ElementInfoManager::createInstance
Same name in other branches
- 9 core/lib/Drupal/Core/Render/ElementInfoManager.php \Drupal\Core\Render\ElementInfoManager::createInstance()
- 8.9.x core/lib/Drupal/Core/Render/ElementInfoManager.php \Drupal\Core\Render\ElementInfoManager::createInstance()
- 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\RenderCode
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.