function ViewsFormAjaxHelperTrait::getElementInfo

Returns the element info plugin manager.

Return value

\Drupal\Core\Render\ElementInfoManagerInterface The element info plugin manager.

File

core/modules/views/src/ViewsFormAjaxHelperTrait.php, line 251

Class

ViewsFormAjaxHelperTrait
Provides reusable code to be shared by Views Ajax forms.

Namespace

Drupal\views

Code

protected function getElementInfo() : ElementInfoManagerInterface {
  return \Drupal::service('plugin.manager.element_info');
}

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