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\groupmediaCode
public function applies(EntityInterface $entity);