GridStackManagerInterface.php in GridStack 8
Same filename and directory in other branches
Namespace
Drupal\gridstackFile
src/GridStackManagerInterface.phpView source
<?php
namespace Drupal\gridstack;
/**
* Defines re-usable services and functions for gridstack plugins.
*/
interface GridStackManagerInterface {
/**
* Returns a cacheable renderable array of a single gridstack instance.
*
* @param 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.
*
* @return array
* The cacheable renderable array of a gridstack instance, or empty array.
*/
public function build(array $build = []);
}
Interfaces
Name | Description |
---|---|
GridStackManagerInterface | Defines re-usable services and functions for gridstack plugins. |