Sulu\Component\Media\SystemCollections\SystemCollectionManagerInterface::getSystemCollection PHP Метод

getSystemCollection() публичный Метод

Returns id of system collection with given key.
public getSystemCollection ( string $key ) : integer
$key string
Результат integer id of system collection
    public function getSystemCollection($key);

Usage Example

Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function getParameters()
 {
     return ['contactAvatarCollection' => $this->systemCollectionManager->getSystemCollection('sulu_contact.contact'), 'accountAvatarCollection' => $this->systemCollectionManager->getSystemCollection('sulu_contact.account')];
 }