protected function GridStackEnginePluginBase::itemContentAttributes in GridStack 8.2
Modifies the .box__content attributes.
2 calls to GridStackEnginePluginBase::itemContentAttributes()
- GridStackBase::itemContentAttributes in src/
Plugin/ gridstack/ engine/ GridStackBase.php - Modifies the .box__content attributes.
- GridStackEnginePluginBase::modifyItem in src/
GridStackEnginePluginBase.php - Modifies item content and attributes.
1 method overrides GridStackEnginePluginBase::itemContentAttributes()
- GridStackBase::itemContentAttributes in src/
Plugin/ gridstack/ engine/ GridStackBase.php - Modifies the .box__content attributes.
File
- src/
GridStackEnginePluginBase.php, line 440
Class
- GridStackEnginePluginBase
- Provides base class for all gridstack layout engines.
Namespace
Drupal\gridstackCode
protected function itemContentAttributes(array &$attributes, array &$settings) {
$attributes['class'] = empty($attributes['class']) ? $this->itemContentClasses : array_merge($attributes['class'], $this->itemContentClasses);
}