function MediaLibrarySelectForm::form_element_name

Same name in other branches
  1. 11.x core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php \Drupal\media_library\Plugin\views\field\MediaLibrarySelectForm::form_element_name()

Return the name of a form field.

Return value

string The form field name.

See also

\Drupal\views\Form\ViewsFormMainForm

File

core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php, line 42

Class

MediaLibrarySelectForm
Defines a field that outputs a checkbox and form for selecting media.

Namespace

Drupal\media_library\Plugin\views\field

Code

public function form_element_name() : string {
    return $this->field;
}

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