You are here

LayoutInterface.php in Bootstrap Layout Builder 1.x

Same filename and directory in other branches
  1. 2.x src/LayoutInterface.php

File

src/LayoutInterface.php
View source
<?php

namespace Drupal\bootstrap_layout_builder;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Defines an interface for blb_layout entity storage classes.
 */
interface LayoutInterface extends ConfigEntityInterface {

  /**
   * Returns all the options from a layout options sorted correctly.
   *
   * @return \Drupal\bootstrap_layout_builder\LayoutOptionInterface[]
   *   An array of layout options entities.
   */
  public function getLayoutOptions();

  /**
   * Returns the number of columns at the layout.
   */
  public function getNumberOfColumns();

}

Interfaces

Namesort descending Description
LayoutInterface Defines an interface for blb_layout entity storage classes.