You are here

public function SimpleMegaMenuInterface::setPublished in Simple Mega Menu 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/SimpleMegaMenuInterface.php \Drupal\simple_megamenu\Entity\SimpleMegaMenuInterface::setPublished()

Sets the published status of a Simple mega menu.

Parameters

bool $published: TRUE to set this entity to published, FALSE to set it to unpublished.

Return value

\Drupal\simple_megamenu\Entity\SimpleMegaMenuInterface The called Simple mega menu entity.

1 method overrides SimpleMegaMenuInterface::setPublished()
SimpleMegaMenu::setPublished in src/Entity/SimpleMegaMenu.php
Sets the published status of a Simple mega menu.

File

src/Entity/SimpleMegaMenuInterface.php, line 82

Class

SimpleMegaMenuInterface
Provides an interface for defining Simple mega menu entities.

Namespace

Drupal\simple_megamenu\Entity

Code

public function setPublished($published);