TeamsLinksBlock
extends O365UncachedBlockBase
in package
implements
ContainerFactoryPluginInterface
Provides a 'Teams Links' block.
Tags
Interfaces, Classes, Traits and Enums
- ContainerFactoryPluginInterface
Table of Contents
- $authmap : Authmap
- The externalauth authmap service.
- $o365ProfileTeams : O365ProfileTeamsService
- The o365_profile.teams service.
- __construct() : mixed
- Constructs a new TeamsLinksBlock instance.
- access() : mixed
- {@inheritdoc}
- build() : mixed
- {@inheritdoc}
- create() : mixed
- {@inheritdoc}
Properties
$authmap
The externalauth authmap service.
protected
Authmap
$authmap
$o365ProfileTeams
The o365_profile.teams service.
protected
O365ProfileTeamsService
$o365ProfileTeams
Methods
__construct()
Constructs a new TeamsLinksBlock instance.
public
__construct(array<string|int, mixed> $configuration, string $plugin_id, mixed $plugin_definition, O365ProfileTeamsService $o365_profile_teams, Authmap $authmap) : 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.
- $o365_profile_teams : O365ProfileTeamsService
-
The o365_profile.teams service.
- $authmap : Authmap
-
The externalauth authmap service.
Return values
mixed —access()
{@inheritdoc}
public
access(AccountInterface $account[, mixed $return_as_object = FALSE ]) : mixed
Parameters
- $account : AccountInterface
- $return_as_object : mixed = FALSE
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