You are here

public function MediaFinderInterface::applies in Group Media 8.2

Checks if the plugin can be applied.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity in question.

Return value

bool TRUE if can be applied, FALSE in other case.

1 method overrides MediaFinderInterface::applies()
MediaFinderBase::applies in src/Plugin/MediaFinder/MediaFinderBase.php
Checks if the plugin can be applied.

File

src/MediaFinderInterface.php, line 24

Class

MediaFinderInterface
Interface MediaFinderInterface.

Namespace

Drupal\groupmedia

Code

public function applies(EntityInterface $entity);