You are here

interface GridBuilderInterface in Grid builder 8

Defines the shared interface for all gridbuilder plugins.

Hierarchy

Expanded class hierarchy of GridBuilderInterface

All classes that implement GridBuilderInterface

1 file declares its use of GridBuilderInterface
EqualColumnGrid.php in lib/Drupal/gridbuilder/Plugin/gridbuilder/gridbuilder/EqualColumnGrid.php
Definition of Drupal\gridbuilder\Plugin\gridbuilder\gridbuilder\EqualColumnGrid.

File

lib/Drupal/gridbuilder/Plugin/GridBuilderInterface.php, line 13
Definition of Drupal\gridbuilder\Plugin\GridBuilderInterface.

Namespace

Drupal\gridbuilder\Plugin
View source
interface GridBuilderInterface {

  /**
   * Generates grid CSS for this grid system.
   *
   * @param (string) $wrapper_selector
   *   (optional) Wrapper CSS selector to use to scope the CSS.
   * @param (string) $col_selector_prefix
   *   (optional) Column selector prefix to scope the CSS.
   * @param (boolean) $skip_spacing
   *    Whether we should skip including spacing in the output. Useful for tight
   *    layout demonstration presentation.
   *
   * @return string
   *   Grid CSS for this grid system.
   */
  public function getGridCss($wrapper_selector = NULL, $col_selector_prefix = NULL, $skip_spacing = FALSE);

}

Members

Namesort descending Modifiers Type Description Overrides
GridBuilderInterface::getGridCss public function Generates grid CSS for this grid system. 1