function FormBase::setElementInfoManager

Sets the element info manager for this form.

Return value

$this

File

core/lib/Drupal/Core/Form/FormBase.php, line 154

Class

FormBase
Provides a base class for forms.

Namespace

Drupal\Core\Form

Code

public function setElementInfoManager(ElementInfoManagerInterface $elementInfoManager) : static {
  $this->elementInfoManager = $elementInfoManager;
  return $this;
}

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