/**
  * {@inheritdoc}
  */
 public function save(EntityInterface $entity)
 {
     if (strpos($entity->id(), ':') !== FALSE) {
         throw new EntityStorageException(SafeMarkup::format("Dynamic migration %id can't be saved", array('$%id' => $entity->id())));
     }
     return parent::save($entity);
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function getVariantIds(array $ids)
 {
     return parent::getVariantIds($ids);
 }
Exemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 public function expandDependencies(array $dependencies)
 {
     return parent::expandDependencies($dependencies);
 }
Exemplo n.º 4
0
 /**
  * {@inheritdoc}
  */
 public function save(EntityInterface $entity)
 {
     if (strpos($entity->id(), ':') !== FALSE) {
         throw new EntityStorageException("Dynamic migration '{$entity->id()}' can't be saved");
     }
     return parent::save($entity);
 }