You are here

public function Link::showTitle in Colossal Menu 8

Same name and namespace in other branches
  1. 2.x src/Entity/Link.php \Drupal\colossal_menu\Entity\Link::showTitle()

Determines if the title should be shown.

Return value

bool Whether the title should be shown or not.

Overrides LinkInterface::showTitle

File

src/Entity/Link.php, line 397

Class

Link
Defines the Link entity.

Namespace

Drupal\colossal_menu\Entity

Code

public function showTitle() {
  return (bool) $this
    ->get('show_title')->value;
}