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

Breadcrumb

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

interface LayoutBuilderEnabledInterface

Provides methods for enabling and disabling Layout Builder.

Hierarchy

  • interface \Drupal\layout_builder\LayoutBuilderEnabledInterface

Expanded class hierarchy of LayoutBuilderEnabledInterface

All classes that implement LayoutBuilderEnabledInterface

1 file declares its use of LayoutBuilderEnabledInterface
LayoutEntityDisplayInterface.php in core/modules/layout_builder/src/Entity/LayoutEntityDisplayInterface.php

File

core/modules/layout_builder/src/LayoutBuilderEnabledInterface.php, line 8

Namespace

Drupal\layout_builder
View source
interface LayoutBuilderEnabledInterface {
    
    /**
     * Determines if Layout Builder is enabled.
     *
     * @return bool
     *   TRUE if Layout Builder is enabled, FALSE otherwise.
     */
    public function isLayoutBuilderEnabled();
    
    /**
     * Enables the Layout Builder.
     *
     * @return $this
     */
    public function enableLayoutBuilder();
    
    /**
     * Disables the Layout Builder.
     *
     * @return $this
     */
    public function disableLayoutBuilder();

}

Members

Title Sort descending Modifiers Object type Summary
LayoutBuilderEnabledInterface::disableLayoutBuilder public function Disables the Layout Builder.
LayoutBuilderEnabledInterface::enableLayoutBuilder public function Enables the Layout Builder.
LayoutBuilderEnabledInterface::isLayoutBuilderEnabled public function Determines if Layout Builder is enabled.

API Navigation

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