You are here

public function ContentTypeConfig::getColor in Content Planner 8

Get the saved color value.

Return value

string

File

modules/content_calendar/src/Entity/ContentTypeConfig.php, line 74

Class

ContentTypeConfig
Defines the Content Type Config entity.

Namespace

Drupal\content_calendar\Entity

Code

public function getColor() {
  if ($this->color) {
    return $this->color;
  }
  return 'farbe eingeben';
}