function RenderElementBase::elementInfoManager
Returns the element info manager.
Return value
\Drupal\Core\Render\ElementInfoManagerInterface The element info manager/
File
-
core/
lib/ Drupal/ Core/ Render/ Element/ RenderElementBase.php, line 711
Class
- RenderElementBase
- Provides a base class for render element plugins.
Namespace
Drupal\Core\Render\ElementCode
protected function elementInfoManager() : ElementInfoManagerInterface {
if (!$this->elementInfoManager) {
$this->elementInfoManager = \Drupal::service('plugin.manager.element_info');
}
return $this->elementInfoManager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.