You are here

public function LayoutBuilderStyleInterface::getBlockRestrictions in Layout Builder Styles 8

Returns list of block plugin IDs to restrict this style to.

Return value

array The block plugin IDs to restrict this style to.

1 method overrides LayoutBuilderStyleInterface::getBlockRestrictions()
LayoutBuilderStyle::getBlockRestrictions in src/Entity/LayoutBuilderStyle.php
Returns list of block plugin IDs to restrict this style to.

File

src/LayoutBuilderStyleInterface.php, line 37

Class

LayoutBuilderStyleInterface
Provides an interface for defining Layout Builder style entities.

Namespace

Drupal\layout_builder_styles

Code

public function getBlockRestrictions();