class DefaultLayoutBase in Layout Builder Base 8
Configurable layout plugin class.
@internal Plugin classes are internal.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, MessengerTrait, StringTranslationTrait
- class \Drupal\Core\Layout\LayoutDefault implements LayoutInterface, PluginFormInterface
- class \Drupal\layout_builder\Plugin\Layout\MultiWidthLayoutBase implements PluginFormInterface
- class \Drupal\layout_builder_base\Plugin\Layout\BaseLayoutBase
- class \Drupal\layout_builder_base\Plugin\Layout\DefaultLayoutBase
- class \Drupal\layout_builder_base\Plugin\Layout\BaseLayoutBase
- class \Drupal\layout_builder\Plugin\Layout\MultiWidthLayoutBase implements PluginFormInterface
- class \Drupal\Core\Layout\LayoutDefault implements LayoutInterface, PluginFormInterface
- class \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, MessengerTrait, StringTranslationTrait
Expanded class hierarchy of DefaultLayoutBase
1 file declares its use of DefaultLayoutBase
- BaseOneColumnLayout.php in modules/
layout_builder_base_library/ src/ Plugin/ Layout/ BaseOneColumnLayout.php
File
- src/
Plugin/ Layout/ DefaultLayoutBase.php, line 11
Namespace
Drupal\layout_builder_base\Plugin\LayoutView source
class DefaultLayoutBase extends BaseLayoutBase {
/**
* {@inheritdoc}
*/
protected function getWidthOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getBackgroundOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getBackgroundPositionOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getBackgroundAttachmentOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getBackgroundSizeOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getBackgroundOverlayOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getEqualTopBottomMarginsOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getEqualLeftRightMarginsOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getTopMarginOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getRightMarginOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getBottomMarginOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getLeftMarginOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getEqualTopBottomPaddingsOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getEqualLeftRightPaddingsOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getTopPaddingOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getRightPaddingOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getBottomPaddingOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getLeftPaddingOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getContainerOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getContentContainerOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getHeightOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getColorsOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getAlignmentOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getColumnGapOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getRowGapOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getColumnBreakpointOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getColumnWidthOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getAlignItemsOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getModifiersOptions() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getCustomizableColumnsOptions() {
return [];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseLayoutBase:: |
protected | property | The layout builder base settings. | |
BaseLayoutBase:: |
public | function |
Build a render array for layout with regions. Overrides MultiWidthLayoutBase:: |
1 |
BaseLayoutBase:: |
public | function |
Form constructor. Overrides MultiWidthLayoutBase:: |
|
BaseLayoutBase:: |
public static | function | 1 | |
BaseLayoutBase:: |
public | function |
Gets default configuration for this plugin. Overrides MultiWidthLayoutBase:: |
|
BaseLayoutBase:: |
protected | function | Function to enable the background image feature. | 1 |
BaseLayoutBase:: |
protected | function | Gets the background image style options for the configuration form. | |
BaseLayoutBase:: |
protected | function | Get the default align items option. | |
BaseLayoutBase:: |
protected | function | Get the default alignment option. | |
BaseLayoutBase:: |
protected | function | Get the default background option. | |
BaseLayoutBase:: |
protected | function | Get the default background attachment option. | |
BaseLayoutBase:: |
protected | function | Get the default image style background option. | |
BaseLayoutBase:: |
protected | function | Get the default background overlay option. | |
BaseLayoutBase:: |
protected | function | Get the default background position option. | |
BaseLayoutBase:: |
protected | function | Get the default background size option. | |
BaseLayoutBase:: |
protected | function | Get the default bottom margin option. | |
BaseLayoutBase:: |
protected | function | Get the default bottom padding option. | |
BaseLayoutBase:: |
protected | function | Get the default color option. | |
BaseLayoutBase:: |
protected | function | Get the default column breakpoint option. | |
BaseLayoutBase:: |
protected | function | Get the default column gap option. | |
BaseLayoutBase:: |
protected | function | Get the default column width option. | 2 |
BaseLayoutBase:: |
protected | function | Default behavior to get the default config option. | |
BaseLayoutBase:: |
protected | function | Get the default container option. | |
BaseLayoutBase:: |
protected | function | Get the default content container option. | |
BaseLayoutBase:: |
protected | function | Get the default customizable columns option. | |
BaseLayoutBase:: |
protected | function | Get the default equal left right margin option. | |
BaseLayoutBase:: |
protected | function | Get the default equal left right padding option. | |
BaseLayoutBase:: |
protected | function | Get the default equal top bottom margin option. | |
BaseLayoutBase:: |
protected | function | Get the default equal top bottom padding option. | |
BaseLayoutBase:: |
protected | function | Get the default height option. | |
BaseLayoutBase:: |
protected | function | Get the default background option. | |
BaseLayoutBase:: |
protected | function | Get the default left margin option. | |
BaseLayoutBase:: |
protected | function | Get the default left padding option. | |
BaseLayoutBase:: |
protected | function | Get the default modifiers option. | |
BaseLayoutBase:: |
protected | function | Get the default right margin option. | |
BaseLayoutBase:: |
protected | function | Get the default right padding option. | |
BaseLayoutBase:: |
protected | function | Get the default row gap option. | |
BaseLayoutBase:: |
protected | function | Get the default top margin option. | |
BaseLayoutBase:: |
protected | function | Get the default top padding option. | |
BaseLayoutBase:: |
protected | function | Function to enable the multiple columns features. | 1 |
BaseLayoutBase:: |
public | function |
Form submission handler. Overrides MultiWidthLayoutBase:: |
|
BaseLayoutBase:: |
public | function |
Constructs a BaseOneColumnLayout object. Overrides LayoutDefault:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the align items options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the alignment options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the background attachment options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the background options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the background overlay options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the background position options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the background size options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the bottom margin options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the bottom padding options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the colors options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the column breakpoint options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the column gap options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the column width options for the configuration form. Overrides BaseLayoutBase:: |
2 |
DefaultLayoutBase:: |
protected | function |
Gets the container options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the content container options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the customizable columns options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the left and right equal margin options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the left and right equal padding options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the top and bottom equal margin options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the top and bottom equal padding options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the height options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the left margin options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the left padding options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the modifiers options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the right margin options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the right padding options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the row gap options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the top margin options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the top padding options for the configuration form. Overrides BaseLayoutBase:: |
1 |
DefaultLayoutBase:: |
protected | function |
Gets the width options for the configuration form. Overrides MultiWidthLayoutBase:: |
|
DependencySerializationTrait:: |
protected | property | An array of entity type IDs keyed by the property name of their storages. | |
DependencySerializationTrait:: |
protected | property | An array of service IDs keyed by property name used for serialization. | |
DependencySerializationTrait:: |
public | function | 1 | |
DependencySerializationTrait:: |
public | function | 2 | |
LayoutDefault:: |
protected | property |
The layout definition. Overrides PluginBase:: |
|
LayoutDefault:: |
public | function |
Calculates dependencies for the configured plugin. Overrides DependentPluginInterface:: |
2 |
LayoutDefault:: |
public | function |
Gets this plugin's configuration. Overrides ConfigurableInterface:: |
|
LayoutDefault:: |
public | function |
Overrides PluginBase:: |
|
LayoutDefault:: |
public | function |
Sets the configuration for this plugin instance. Overrides ConfigurableInterface:: |
|
LayoutDefault:: |
public | function |
Form validation handler. Overrides PluginFormInterface:: |
1 |
MessengerTrait:: |
protected | property | The messenger. | 29 |
MessengerTrait:: |
public | function | Gets the messenger. | 29 |
MessengerTrait:: |
public | function | Sets the messenger. | |
MultiWidthLayoutBase:: |
protected | function | Provides a default value for the width options. | 2 |
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
StringTranslationTrait:: |
protected | property | The string translation service. | 1 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. |