public function BlazyFormatterBase::settingsForm in Blazy 7
Implements hook_field_formatter_settings_form().
Overrides FormatterBase::settingsForm
1 call to BlazyFormatterBase::settingsForm()
- BlazyEntityBase::settingsForm in src/
Plugin/ Field/ FieldFormatter/ BlazyEntityBase.php - Implements hook_field_formatter_settings_form().
1 method overrides BlazyFormatterBase::settingsForm()
- BlazyEntityBase::settingsForm in src/
Plugin/ Field/ FieldFormatter/ BlazyEntityBase.php - Implements hook_field_formatter_settings_form().
File
- src/
Plugin/ Field/ FieldFormatter/ BlazyFormatterBase.php, line 35
Class
- BlazyFormatterBase
- Base class for blazy-related modules (slick, etc.).
Namespace
Drupal\blazy\Plugin\Field\FieldFormatterCode
public function settingsForm($form, &$form_state, $definition) {
parent::settingsForm($form, $form_state, $definition);
$element = [];
$definition['_views'] = isset($form['field_api_classes']);
$this
->admin()
->buildSettingsForm($element, $definition);
return $element;
}