Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::isInstallable()
  2. 9 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 586

Class

ConfigEntityBase

Namespace

Drupal\Core\Config\Entity

Code

public function isInstallable() {
  return TRUE;
}