You are here

public function Schedule::getDescription in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Entity/Schedule.php \Drupal\business_rules\Entity\Schedule::getDescription()

Gets the Schedule description.

Return value

string The Schedule description.

Overrides ScheduleInterface::getDescription

File

src/Entity/Schedule.php, line 92

Class

Schedule
Defines the Schedule entity.

Namespace

Drupal\business_rules\Entity

Code

public function getDescription() {
  return $this
    ->get('description')->value;
}