/**
  * {@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);
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function getVariantIds(array $ids)
 {
     return parent::getVariantIds($ids);
 }
Esempio n. 3
0
 /**
  * {@inheritdoc}
  */
 public function expandDependencies(array $dependencies)
 {
     return parent::expandDependencies($dependencies);
 }
Esempio 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);
 }