You are here

protected function BaseLayoutBase::getDefaultHeight in Layout Builder Base 8

Get the default height option.

Return value

string Return the default height option.

1 call to BaseLayoutBase::getDefaultHeight()
BaseLayoutBase::defaultConfiguration in src/Plugin/Layout/BaseLayoutBase.php
Gets default configuration for this plugin.

File

src/Plugin/Layout/BaseLayoutBase.php, line 832

Class

BaseLayoutBase
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base\Plugin\Layout

Code

protected function getDefaultHeight() {
  $options = $this
    ->getHeightOptions();
  return $this
    ->getDefaultConfigOption('height', $options);
}