You are here

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

Sets the visibility.

Parameters

bool $status: The visibility.

Return value

$this

File

src/Event/HasTranslationEvent.php, line 58

Class

HasTranslationEvent
Translation event.

Namespace

Drupal\menu_block_current_language\Event

Code

public function setHasTranslation($status) {
  $this->status = (bool) $status;
  return $this;
}