function MediaLibrarySelectForm::getValue
Same name in other branches
- 9 core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php \Drupal\media_library\Plugin\views\field\MediaLibrarySelectForm::getValue()
- 8.9.x core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php \Drupal\media_library\Plugin\views\field\MediaLibrarySelectForm::getValue()
- 10 core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php \Drupal\media_library\Plugin\views\field\MediaLibrarySelectForm::getValue()
Overrides FieldPluginBase::getValue
1 call to MediaLibrarySelectForm::getValue()
- MediaLibrarySelectForm::render in core/
modules/ media_library/ src/ Plugin/ views/ field/ MediaLibrarySelectForm.php
File
-
core/
modules/ media_library/ src/ Plugin/ views/ field/ MediaLibrarySelectForm.php, line 30
Class
- MediaLibrarySelectForm
- Defines a field that outputs a checkbox and form for selecting media.
Namespace
Drupal\media_library\Plugin\views\fieldCode
public function getValue(ResultRow $row, $field = NULL) {
return '<!--form-item-' . $this->options['id'] . '--' . $row->mid . '-->';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.