You are here

public function Schedule::getName in Business Rules 2.x

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

Gets the Schedule name.

Return value

string Name of the Schedule.

Overrides ScheduleInterface::getName

File

src/Entity/Schedule.php, line 147

Class

Schedule
Defines the Schedule entity.

Namespace

Drupal\business_rules\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}