You are here

protected function ExtraFieldTypePluginBase::extraFieldPluginAjax in Entity Extra Field 8

Same name and namespace in other branches
  1. 2.0.x src/ExtraFieldTypePluginBase.php \Drupal\entity_extra_field\ExtraFieldTypePluginBase::extraFieldPluginAjax()

Get extra field plugin ajax properties.

Return value

array An array of common AJAX plugin properties.

3 calls to ExtraFieldTypePluginBase::extraFieldPluginAjax()
ExtraFieldBlockPlugin::buildConfigurationForm in src/Plugin/ExtraFieldType/ExtraFieldBlockPlugin.php
Form constructor.
ExtraFieldTokenPlugin::buildConfigurationForm in src/Plugin/ExtraFieldType/ExtraFieldTokenPlugin.php
Form constructor.
ExtraFieldViewsPlugin::buildConfigurationForm in src/Plugin/ExtraFieldType/ExtraFieldViewsPlugin.php
Form constructor.

File

src/ExtraFieldTypePluginBase.php, line 201

Class

ExtraFieldTypePluginBase
Define extra field type plugin base.

Namespace

Drupal\entity_extra_field

Code

protected function extraFieldPluginAjax() {
  return [
    'wrapper' => 'extra-field-plugin',
    'callback' => [
      $this,
      'extraFieldPluginAjaxCallback',
    ],
  ];
}