public function DsLayout::defaultConfiguration in Display Suite 8.4
Same name and namespace in other branches
- 8.2 src/Plugin/DsLayout.php \Drupal\ds\Plugin\DsLayout::defaultConfiguration()
- 8.3 src/Plugin/DsLayout.php \Drupal\ds\Plugin\DsLayout::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides LayoutDefault::defaultConfiguration
1 call to DsLayout::defaultConfiguration()
- DsLayout::submitConfigurationForm in src/
Plugin/ DsLayout.php - Form submission handler.
File
- src/
Plugin/ DsLayout.php, line 23
Class
- DsLayout
- Layout class for all Display Suite layouts.
Namespace
Drupal\ds\PluginCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'wrappers' => [],
'outer_wrapper' => 'div',
'attributes' => '',
'link_attribute' => '',
'link_custom' => '',
'classes' => [
'layout_class' => [],
],
];
}