public function Schedule::setName in Business Rules 2.x
Same name and namespace in other branches
- 8 src/Entity/Schedule.php \Drupal\business_rules\Entity\Schedule::setName()
Sets the Schedule name.
Parameters
string $name: The Schedule name.
Return value
\Drupal\business_rules\Entity\ScheduleInterface The called Schedule entity.
Overrides ScheduleInterface::setName
File
- src/
Entity/ Schedule.php, line 154
Class
- Schedule
- Defines the Schedule entity.
Namespace
Drupal\business_rules\EntityCode
public function setName($name) {
$this
->set('name', $name);
return $this;
}