public function BlockStyle::getStyle in Block Styles 2.x
Same name and namespace in other branches
- 8 src/Entity/BlockStyle.php \Drupal\block_styles\Entity\BlockStyle::getStyle()
- 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\EntityCode
public function getStyle() {
return array(
'theme' => $this->theme,
'classes' => $this->classes,
'text' => $this->text,
);
}