European Week of Regions and Cities

HomeGallery extends BlockBase implements ContainerFactoryPluginInterface

Generates the Home Video Block.

Tags
Block

( id = "home_gallery_block", admin_label = @Translation("Home Gallery"), category = @Translation("Custom"), )

Table of Contents

Interfaces

ContainerFactoryPluginInterface

Properties

$extensionPathResolver  : ExtensionPathResolver
The extension path resolver service.

Methods

__construct()  : mixed
Block constructor.
build()  : mixed
{@inheritdoc}
create()  : mixed
{@inheritdoc}

Properties

$extensionPathResolver

The extension path resolver service.

protected ExtensionPathResolver $extensionPathResolver

Methods

__construct()

Block constructor.

public __construct(array<string|int, mixed> $configuration, string $plugin_id, array<string|int, mixed> $plugin_definition, ExtensionPathResolver $extension_path_resolver) : mixed
Parameters
$configuration : array<string|int, mixed>

A configuration array containing information about the plugin instance.

$plugin_id : string

The plugin_id for the plugin instance.

$plugin_definition : array<string|int, mixed>

The plugin implementation definition.

$extension_path_resolver : ExtensionPathResolver

The extension path resolver service.

create()

{@inheritdoc}

public static create(ContainerInterface $container, array<string|int, mixed> $configuration, mixed $plugin_id, mixed $plugin_definition) : mixed
Parameters
$container : ContainerInterface
$configuration : array<string|int, mixed>
$plugin_id : mixed
$plugin_definition : mixed

        
On this page

Search results