public findByAssetCollections ( array $assetCollections ) : Neos\Flow\Persistence\QueryResultInterface | ||
$assetCollections | array | |
return | Neos\Flow\Persistence\QueryResultInterface |
/** * Edit an asset * * @param Asset $asset * @return void */ public function editAction(Asset $asset) { $this->view->assignMultiple(array('tags' => $asset->getAssetCollections()->count() > 0 ? $this->tagRepository->findByAssetCollections($asset->getAssetCollections()->toArray()) : $this->tagRepository->findAll(), 'asset' => $asset, 'assetCollections' => $this->assetCollectionRepository->findAll())); }