ThreeColumnLayout.php
Namespace
Drupal\layout_builder\Plugin\LayoutFile
- 
              core/
modules/ layout_builder/ src/ Plugin/ Layout/ ThreeColumnLayout.php  
View source
<?php
namespace Drupal\layout_builder\Plugin\Layout;
/**
 * Configurable three column layout plugin class.
 *
 * @internal
 *   Plugin classes are internal.
 */
class ThreeColumnLayout extends MultiWidthLayoutBase {
  
  /**
   * {@inheritdoc}
   */
  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%',
    ];
  }
  
  /**
   * {@inheritdoc}
   */
  protected function getDefaultWidth() {
    return '33-34-33';
  }
}
Classes
| Title | Deprecated | Summary | 
|---|---|---|
| ThreeColumnLayout | Configurable three column layout plugin class. | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.