public function GridStackPluginManagerInterface::load in GridStack 8.2
Returns an instance of a plugin given a plugin id.
Parameters
string $id: The plugin id.
array $configuration: The optional configuration.
Return value
object Return instance of GridStack plugin.
1 method overrides GridStackPluginManagerInterface::load()
- GridStackPluginManagerBase::load in src/
GridStackPluginManagerBase.php - Returns an instance of a plugin given a plugin id.
File
- src/
GridStackPluginManagerInterface.php, line 21
Class
- GridStackPluginManagerInterface
- Provides a base interface for GridStack plugins.
Namespace
Drupal\gridstackCode
public function load($id, array $configuration = []);