You are here

public function Link::getMachineName in Colossal Menu 8

Same name and namespace in other branches
  1. 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\Entity

Code

public function getMachineName() {
  return $this
    ->get('machine_name')->value;
}