You are here

public function MediaGalleryInterface::setStatus in Media Gallery 8

Sets the media gallery status.

Parameters

bool $status: TRUE to enable this media gallery, FALSE to disable.

Return value

\Drupal\media_gallery\MediaGalleryInterface The called media gallery entity.

1 method overrides MediaGalleryInterface::setStatus()
MediaGallery::setStatus in src/Entity/MediaGallery.php
Sets the media gallery status.

File

src/MediaGalleryInterface.php, line 69

Class

MediaGalleryInterface
Provides an interface defining a media gallery entity type.

Namespace

Drupal\media_gallery

Code

public function setStatus($status);