You are here

public static function MediaBundleInterface::exists in Media entity 8

Checks if the bundle exists.

Parameters

int $id: The Media bundle ID.

Return value

bool TRUE if the bundle with the given ID exists, FALSE otherwise.

1 method overrides MediaBundleInterface::exists()
MediaBundle::exists in src/Entity/MediaBundle.php
Checks if the bundle exists.

File

src/MediaBundleInterface.php, line 33

Class

MediaBundleInterface
Provides an interface defining a media bundle entity.

Namespace

Drupal\media_entity

Code

public static function exists($id);