public function SlickEntityReferenceFormatterBase::getScopedFormElements in Slick Carousel 7.3
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/SlickEntityReferenceFormatterBase.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickEntityReferenceFormatterBase::getScopedFormElements()
- 8 src/Plugin/Field/FieldFormatter/SlickEntityReferenceFormatterBase.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickEntityReferenceFormatterBase::getScopedFormElements()
Defines the scope for the form elements.
Overrides BlazyEntityReferenceBase::getScopedFormElements
File
- src/
Plugin/ Field/ FieldFormatter/ SlickEntityReferenceFormatterBase.php, line 36
Class
- SlickEntityReferenceFormatterBase
- Base class for slick entity reference formatters with field details.
Namespace
Drupal\slick\Plugin\Field\FieldFormatterCode
public function getScopedFormElements() {
$scopes = parent::getScopedFormElements();
return [
'nav' => TRUE,
'layouts' => $this->stringOptions,
'thumb_captions' => $this->textOptions,
'thumb_positions' => TRUE,
'use_view_mode' => TRUE,
'vanilla' => TRUE,
] + $scopes;
}