You are here

public function GridStackEnginePluginInterface::build in GridStack 8.2

Alters GridStack build.

Parameters

array $build: An associative array containing:

  • items: An array of gridstack contents: text, image or media.
  • options: An array of key:value pairs of custom JS options.
  • optionset: The cached optionset object to avoid multiple invocations.
  • settings: An array of key:value pairs of HTML/layout related settings.

array $element: The render element being modified.

1 method overrides GridStackEnginePluginInterface::build()
GridStackEnginePluginBase::build in src/GridStackEnginePluginBase.php
Alters GridStack build.

File

src/GridStackEnginePluginInterface.php, line 30

Class

GridStackEnginePluginInterface
Provides an interface defining GridStack layout engines.

Namespace

Drupal\gridstack

Code

public function build(array &$build, array &$element);