function ElementInterface::initializeInternalStorage
Initialize storage.
This will only have an effect the first time it is called, once it has been called, subsequent calls will not have an effect. Only the plugin manager should ever call this method.
@internal
Parameters
array $element: The containing element.
Return value
$this
1 method overrides ElementInterface::initializeInternalStorage()
- RenderElementBase::initializeInternalStorage in core/
lib/ Drupal/ Core/ Render/ Element/ RenderElementBase.php - Initialize storage.
File
-
core/
lib/ Drupal/ Core/ Render/ Element/ ElementInterface.php, line 57
Class
- ElementInterface
- Provides an interface for render element plugins.
Namespace
Drupal\Core\Render\ElementCode
public function initializeInternalStorage(array &$element) : static;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.