public function ConfigEntityBase::isInstallable

public ConfigEntityBase::isInstallable()

Checks whether this entity is installable.

For example, a default view might not be installable if the base table doesn't exist.

@retun bool TRUE if the entity is installable, FALSE otherwise.

Overrides ConfigEntityInterface::isInstallable

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 614

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

public function isInstallable() {
  return TRUE;
}

© 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!ConfigEntityBase.php/function/ConfigEntityBase::isInstallable/8.1.x