You are here

public function BlockStyle::getStyle in Block Styles 1.x

Same name and namespace in other branches
  1. 8 src/Entity/BlockStyle.php \Drupal\block_styles\Entity\BlockStyle::getStyle()
  2. 2.x src/Entity/BlockStyle.php \Drupal\block_styles\Entity\BlockStyle::getStyle()

Overrides BlockStyleInterface::getStyle

File

src/Entity/BlockStyle.php, line 95

Class

BlockStyle
Defines the BlockStyle entity.

Namespace

Drupal\block_styles\Entity

Code

public function getStyle() {
  return array(
    'theme' => $this->theme,
    'classes' => $this->classes,
    'text' => $this->text,
  );
}