You are here

public function GridStackStylizer::getStyle in GridStack 8.2

Returns a particular style from settings.

@todo rename to ::getConfiguredStyle to avoid confusion?

File

src/GridStackStylizer.php, line 91

Class

GridStackStylizer
Implements GridStackStylizerInterface.

Namespace

Drupal\gridstack

Code

public function getStyle($key, array $settings) {
  return $this
    ->style()
    ->getStyle($key, $settings);
}