You are here

protected function GridStackBase::itemContentAttributes in GridStack 8.2

Modifies the .box__content attributes.

Overrides GridStackEnginePluginBase::itemContentAttributes

File

src/Plugin/gridstack/engine/GridStackBase.php, line 149

Class

GridStackBase
Provides the base class for two-dimensional layout engines.

Namespace

Drupal\gridstack\Plugin\gridstack\engine

Code

protected function itemContentAttributes(array &$attributes, array &$settings) {
  parent::itemContentAttributes($attributes, $settings);

  // Provides configurable content attributes via Layout Builder.
  $this
    ->attributes($attributes, $settings);
}