You are here

public function ConfigEntityBase::isInstallable in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::isInstallable()
  2. 10 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::isInstallable()

Checks whether this entity is installable.

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

Return value

bool TRUE if the entity is installable, FALSE otherwise.

Overrides ConfigEntityInterface::isInstallable

2 methods override ConfigEntityBase::isInstallable()
ConfigTest::isInstallable in core/modules/config/tests/config_test/src/Entity/ConfigTest.php
Checks whether this entity is installable.
View::isInstallable in core/modules/views/src/Entity/View.php
Checks whether this entity is installable.

File

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

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

public function isInstallable() {
  return TRUE;
}