/** * {@inheritdoc} * * @throws \Drupal\Core\Config\Entity\Exception\ConfigEntityStorageClassException * Exception thrown when the provided class is not an instance of * \Drupal\Core\Config\Entity\ConfigEntityStorage. */ public function setStorageClass($class) { $this->checkStorageClass($class); parent::setStorageClass($class); }