public function ExtraFieldEntityLinkPlugin::defaultConfiguration in Entity Extra Field 8
Same name and namespace in other branches
- 2.0.x src/Plugin/ExtraFieldType/ExtraFieldEntityLinkPlugin.php \Drupal\entity_extra_field\Plugin\ExtraFieldType\ExtraFieldEntityLinkPlugin::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ExtraFieldTypePluginBase::defaultConfiguration
File
- src/
Plugin/ ExtraFieldType/ ExtraFieldEntityLinkPlugin.php, line 27
Class
- ExtraFieldEntityLinkPlugin
- Define the extra field entity link type.
Namespace
Drupal\entity_extra_field\Plugin\ExtraFieldTypeCode
public function defaultConfiguration() {
return [
'link_text' => NULL,
'link_template' => NULL,
'link_target' => NULL,
] + parent::defaultConfiguration();
}