You are here

public function MediaFinderInterface::process in Group Media 8.2

Search for the attached media entities.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: Entity to search in.

Return value

\Drupal\media\MediaInterface[] Found media items.

2 methods override MediaFinderInterface::process()
MediaReference::process in src/Plugin/MediaFinder/MediaReference.php
Search for the attached media entities.
TextFieldEmbedBase::process in src/Plugin/MediaFinder/TextFieldEmbedBase.php
Search for the attached media entities.

File

src/MediaFinderInterface.php, line 35

Class

MediaFinderInterface
Interface MediaFinderInterface.

Namespace

Drupal\groupmedia

Code

public function process(EntityInterface $entity);