protected function BaseLayoutBase::getDefaultAlignment in Layout Builder Base 8
Get the default alignment option.
Return value
string Return the default alignment option.
1 call to BaseLayoutBase::getDefaultAlignment()
- BaseLayoutBase::defaultConfiguration in src/
Plugin/ Layout/ BaseLayoutBase.php  - Gets default configuration for this plugin.
 
File
- src/
Plugin/ Layout/ BaseLayoutBase.php, line 854  
Class
- BaseLayoutBase
 - Configurable layout plugin class.
 
Namespace
Drupal\layout_builder_base\Plugin\LayoutCode
protected function getDefaultAlignment() {
  $options = $this
    ->getAlignmentOptions();
  return $this
    ->getDefaultConfigOption('alignment', $options);
}