public function TimeTracking::setName in Drupal PM (Project Management) 4.x
Sets the Time tracking name.
Parameters
string $name: The Time tracking name.
Return value
\Drupal\pm_timetracking\Entity\TimeTrackingInterface The called Time tracking entity.
Overrides TimeTrackingInterface::setName
File
- modules/
pm_timetracking/ src/ Entity/ TimeTracking.php, line 85
Class
- TimeTracking
- Defines the Time tracking entity.
Namespace
Drupal\pm_timetracking\EntityCode
public function setName($name) {
$this
->set('name', $name);
return $this;
}