public function BynderServiceInterface::updateMediaEntities in Bynder 4.0.x
Updates a set of media entities based on the remote metadata information.
Parameters
\Drupal\media\MediaInterface[] $bynder_media_entities: A list of media entities with a bynder source, keyed by the bynder ID, updates entities are removed from the list.
Return value
\Drupal\media\MediaInterface[] A list of updated media entities.
1 method overrides BynderServiceInterface::updateMediaEntities()
- BynderService::updateMediaEntities in src/
BynderService.php - Updates a set of media entities based on the remote metadata information.
File
- src/
BynderServiceInterface.php, line 60
Class
- BynderServiceInterface
- Provides methods to manage the Bynder module.
Namespace
Drupal\bynderCode
public function updateMediaEntities(array &$bynder_media_entities);