interface GridStackManagerInterface in GridStack 8.2
Same name and namespace in other branches
- 8 src/GridStackManagerInterface.php \Drupal\gridstack\GridStackManagerInterface
Defines re-usable services and functions for gridstack plugins.
Hierarchy
- interface \Drupal\Core\Security\TrustedCallbackInterface
- interface \Drupal\gridstack\GridStackManagerInterface extends \Drupal\blazy\BlazyManagerInterface
Expanded class hierarchy of GridStackManagerInterface
All classes that implement GridStackManagerInterface
1 file declares its use of GridStackManagerInterface
- GridStackAdmin.php in src/
Form/ GridStackAdmin.php
File
- src/
GridStackManagerInterface.php, line 11
Namespace
Drupal\gridstackView source
interface GridStackManagerInterface extends BlazyManagerInterface, TrustedCallbackInterface {
/**
* 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 = []);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GridStackManagerInterface:: |
public | function | Returns a cacheable renderable array of a single gridstack instance. | 1 |
TrustedCallbackInterface:: |
constant | Untrusted callbacks throw exceptions. | ||
TrustedCallbackInterface:: |
constant | Untrusted callbacks trigger silenced E_USER_DEPRECATION errors. | ||
TrustedCallbackInterface:: |
constant | Untrusted callbacks trigger E_USER_WARNING errors. | ||
TrustedCallbackInterface:: |
public static | function | Lists the trusted callbacks provided by the implementing class. | 34 |