interface ExtraFieldPlusDisplayInterface in Extra Field Settings Provider 8
Same name and namespace in other branches
- 8.2 src/Plugin/ExtraFieldPlusDisplayInterface.php \Drupal\extra_field_plus\Plugin\ExtraFieldPlusDisplayInterface
Defines an interface for Extra Field Plus Display plugins.
Hierarchy
- interface \Drupal\extra_field_plus\Plugin\ExtraFieldPlusDisplayInterface extends \Drupal\extra_field\Plugin\ExtraFieldDisplayInterface
Expanded class hierarchy of ExtraFieldPlusDisplayInterface
All classes that implement ExtraFieldPlusDisplayInterface
File
- src/
Plugin/ ExtraFieldPlusDisplayInterface.php, line 10
Namespace
Drupal\extra_field_plus\PluginView source
interface ExtraFieldPlusDisplayInterface extends ExtraFieldDisplayInterface {
/**
* Returns field settings.
*
* @return array
* The field settings.
*/
public function getSettings();
/**
* Returns field setting.
*
* @param string $name
* Setting name.
*
* @return mixed|null
* The field setting or NULL if does not exist.
*/
public function getSetting($name);
/**
* Returns field settings form.
*
* @return array
* The field settings form.
* Example: [key_1 => [...], key_2 => [...], ...].
*/
public function getSettingsForm();
/**
* Returns field settings form default values.
*
* @return array
* The form values.
* Example: [key_1 => value_1, key_2 => value_2,...].
*/
public function getDefaultFormValues();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ExtraFieldPlusDisplayInterface:: |
public | function | Returns field settings form default values. | 1 |
ExtraFieldPlusDisplayInterface:: |
public | function | Returns field setting. | 1 |
ExtraFieldPlusDisplayInterface:: |
public | function | Returns field settings. | 1 |
ExtraFieldPlusDisplayInterface:: |
public | function | Returns field settings form. | 1 |