You are here

public function RoleWatchdogInterface::setPublished in Role Watchdog 8

Sets the published status of a Role Watchdog.

Parameters

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

Return value

\Drupal\role_watchdog\Entity\RoleWatchdogInterface The called Role Watchdog entity.

1 method overrides RoleWatchdogInterface::setPublished()
RoleWatchdog::setPublished in src/Entity/RoleWatchdog.php
Sets the published status of a Role Watchdog.

File

src/Entity/RoleWatchdogInterface.php, line 73

Class

RoleWatchdogInterface
Provides an interface for defining Role Watchdog entities.

Namespace

Drupal\role_watchdog\Entity

Code

public function setPublished($published);