public function GridStackEnginePluginBase::attach in GridStack 8.2
Provides gridstack skins and libraries.
1 call to GridStackEnginePluginBase::attach()
- GridStackBase::attach in src/
Plugin/ gridstack/ engine/ GridStackBase.php - Provides gridstack skins and libraries.
1 method overrides GridStackEnginePluginBase::attach()
- GridStackBase::attach in src/
Plugin/ gridstack/ engine/ GridStackBase.php - Provides gridstack skins and libraries.
File
- src/
GridStackEnginePluginBase.php, line 207
Class
- GridStackEnginePluginBase
- Provides base class for all gridstack layout engines.
Namespace
Drupal\gridstackCode
public function attach(array &$load, array $attach = []) {
if (!empty($attach['debug'])) {
$load['library'][] = 'gridstack/debug';
}
}