O365LinksBlock
extends BlockBase
in package
implements
ContainerFactoryPluginInterface
Uses
UncacheableDependencyTrait
Provides a 'Office 365 Application Links' block.
Tags
Interfaces, Classes, Traits and Enums
- ContainerFactoryPluginInterface
Table of Contents
- $configFactory : ConfigFactoryInterface
- The config factory.
- $o365LinksConstants : O365LinksConstants
- The o365_links.constants service.
- __construct() : mixed
- Constructs a new O365LinksBlock instance.
- build() : mixed
- {@inheritdoc}
- create() : mixed
- {@inheritdoc}
Properties
$configFactory
The config factory.
protected
ConfigFactoryInterface
$configFactory
$o365LinksConstants
The o365_links.constants service.
protected
O365LinksConstants
$o365LinksConstants
Methods
__construct()
Constructs a new O365LinksBlock instance.
public
__construct(array<string|int, mixed> $configuration, string $plugin_id, mixed $plugin_definition, ConfigFactoryInterface $config_factory, O365LinksConstants $o365_links_constants) : mixed
Parameters
- $configuration : array<string|int, mixed>
-
The plugin configuration, i.e. an array with configuration values keyed by configuration option name. The special key 'context' may be used to initialize the defined contexts by setting it to an array of context values keyed by context names.
- $plugin_id : string
-
The plugin_id for the plugin instance.
- $plugin_definition : mixed
-
The plugin implementation definition.
- $config_factory : ConfigFactoryInterface
-
The config factory.
- $o365_links_constants : O365LinksConstants
-
The o365_links.constants service.
Return values
mixed —build()
{@inheritdoc}
public
build() : mixed
Return values
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