public function Link::getOptions in Colossal Menu 8
Same name and namespace in other branches
- 2.x src/Entity/Link.php \Drupal\colossal_menu\Entity\Link::getOptions()
Returns the options for this link.
Return value
array An associative array of options.
Overrides MenuLinkInterface::getOptions
File
- src/
Entity/ Link.php, line 442
Class
- Link
- Defines the Link entity.
Namespace
Drupal\colossal_menu\EntityCode
public function getOptions() {
return $this
->get('link')
->first()->options;
}