You are here

public function BlockStyle::getStyle in Block Styles 8

Same name and namespace in other branches
  1. 2.x src/Entity/BlockStyle.php \Drupal\block_styles\Entity\BlockStyle::getStyle()
  2. 1.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,
  );
}