You are here

public function HasTranslationEvent::__construct in Menu block current language 8

HasTranslationEvent constructor.

Parameters

\Drupal\Core\Menu\MenuLinkInterface $link: The menu link.

bool $status: The visibility.

File

src/Event/HasTranslationEvent.php, line 35

Class

HasTranslationEvent
Translation event.

Namespace

Drupal\menu_block_current_language\Event

Code

public function __construct(MenuLinkInterface $link, $status) {
  $this->link = $link;
  $this->status = $status;
}