Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ThreeColumnLayout.php

function ThreeColumnLayout::getWidthOptions

Overrides MultiWidthLayoutBase::getWidthOptions

File

core/modules/layout_builder/src/Plugin/Layout/ThreeColumnLayout.php, line 16

Class

ThreeColumnLayout
Configurable three column layout plugin class.

Namespace

Drupal\layout_builder\Plugin\Layout

Code

protected function getWidthOptions() {
    return [
        '25-50-25' => '25%/50%/25%',
        '33-34-33' => '33%/34%/33%',
        '25-25-50' => '25%/25%/50%',
        '50-25-25' => '50%/25%/25%',
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal