public function GridStackPluginManagerBase::loadMultiple in GridStack 8.2
Returns all available plugins.
2 calls to GridStackPluginManagerBase::loadMultiple()
- GridStackPluginManagerBase::getData in src/
GridStackPluginManagerBase.php - Returns gridstack plugin data.
- GridStackPluginManagerBase::getImplementors in src/
GridStackPluginManagerBase.php - Returns plugins names implementing a method.
File
- src/
GridStackPluginManagerBase.php, line 105
Class
- GridStackPluginManagerBase
- Implements GridStackPluginManagerInterface.
Namespace
Drupal\gridstackCode
public function loadMultiple(array $configuration = []) {
$plugins = [];
foreach ($this
->getDefinitions() as $definition) {
array_push($plugins, $this
->createInstance($definition['id'], $configuration));
}
return $plugins;
}