You are here

public function ClassyParagraphsStyle::getClasses in Classy paragraphs 8

Returns text from the classes field.

Return value

A string of classes.

Overrides ClassyParagraphsStyleInterface::getClasses

File

src/Entity/ClassyParagraphsStyle.php, line 73

Class

ClassyParagraphsStyle
Defines the Classy paragraphs style entity.

Namespace

Drupal\classy_paragraphs\Entity

Code

public function getClasses() {
  return isset($this->classes) ? $this->classes : NULL;
}