HomeCofoe
extends BlockBase
in package
implements
ContainerFactoryPluginInterface
Generates the Home Video Block.
Tags
Table of Contents
Interfaces
- ContainerFactoryPluginInterface
Properties
- $fileUrlGenerator : FileUrlGeneratorInterface
- The file URL generator.
Methods
- __construct() : mixed
- Constructs a new Carousel block.
- build() : mixed
- {@inheritdoc}
- create() : mixed
- {@inheritdoc}
Properties
$fileUrlGenerator
The file URL generator.
protected
FileUrlGeneratorInterface
$fileUrlGenerator
Methods
__construct()
Constructs a new Carousel block.
public
__construct(array<string|int, mixed> $configuration, string $plugin_id, array<string|int, mixed> $plugin_definition, FileUrlGeneratorInterface $file_url_generator) : 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.
- $file_url_generator : FileUrlGeneratorInterface
-
The file URL generator.
build()
{@inheritdoc}
public
build() : mixed
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