protected ConfigEntityType::checkStorageClass($class)
\Drupal\Core\Config\Entity\Exception\ConfigEntityStorageClassException Exception thrown when the provided class is not an instance of \Drupal\Core\Config\Entity\ConfigEntityStorage.
Overrides EntityType::checkStorageClass
\Drupal\Core\Config\Entity\ConfigEntityStorage
protected function checkStorageClass($class) { if (!is_a($class, 'Drupal\Core\Config\Entity\ConfigEntityStorage', TRUE)) { throw new ConfigEntityStorageClassException("$class is not \\Drupal\\Core\\Config\\Entity\\ConfigEntityStorage or it does not extend it"); } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!Entity!ConfigEntityType.php/function/ConfigEntityType::checkStorageClass/8.1.x