/** * @VirtualProperty * @SerializedName("locked") * * @return string */ public function getLocked() { return !$this->entity->getType() || $this->entity->getType()->getKey() === SystemCollectionManagerInterface::COLLECTION_TYPE; }
/** * @VirtualProperty * @SerializedName("locked") * * @return string */ public function getLocked() { return !$this->entity->getType() || $this->entity->getType()->getKey() === 'collection.system'; }