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

Breadcrumb

  1. Drupal Core 11.1.x

LayoutBuilderOverridableInterface.php

Namespace

Drupal\layout_builder

File

core/modules/layout_builder/src/LayoutBuilderOverridableInterface.php

View source
<?php

namespace Drupal\layout_builder;


/**
 * Provides an interface for displays that could be overridable.
 */
interface LayoutBuilderOverridableInterface {
    
    /**
     * Determines if the display allows custom overrides.
     *
     * @return bool
     *   TRUE if custom overrides are allowed, FALSE otherwise.
     */
    public function isOverridable();
    
    /**
     * Sets the display to allow or disallow overrides.
     *
     * @param bool $overridable
     *   TRUE if the display should allow overrides, FALSE otherwise.
     *
     * @return $this
     */
    public function setOverridable($overridable = TRUE);

}

Interfaces

Title Deprecated Summary
LayoutBuilderOverridableInterface Provides an interface for displays that could be overridable.

API Navigation

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