Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConfigEntityBase.php

function ConfigEntityBase::status

Overrides ConfigEntityInterface::status

3 calls to ConfigEntityBase::status()
Block::preSave in core/modules/block/src/Entity/Block.php
Acts on an entity before the presave hook is invoked.
SearchPage::isIndexable in core/modules/search/src/Entity/SearchPage.php
Determines if this search page entity is indexable.
View::postSave in core/modules/views/src/Entity/View.php
Acts on a saved entity before the insert or update hook is invoked.
1 method overrides ConfigEntityBase::status()
Workflow::status in core/modules/workflows/src/Entity/Workflow.php
Returns whether the configuration entity is enabled.

File

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

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

public function status() {
    return !empty($this->status);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal