public function Link::getMachineName in Colossal Menu 8
Same name and namespace in other branches
- 2.x src/Entity/Link.php \Drupal\colossal_menu\Entity\Link::getMachineName()
Gets the machine name.
Return value
string Machine name.
Overrides LinkInterface::getMachineName
File
- src/
Entity/ Link.php, line 556
Class
- Link
- Defines the Link entity.
Namespace
Drupal\colossal_menu\EntityCode
public function getMachineName() {
return $this
->get('machine_name')->value;
}