SharedFilesBlock
extends O365UncachedBlockBase
in package
implements
ContainerFactoryPluginInterface
FinalYes
Provides a 'Shared Files' block.
Tags
Table of Contents
Interfaces
- ContainerFactoryPluginInterface
Properties
Methods
- __construct() : mixed
- Construct a O365BlockBase.
- access() : mixed
- {@inheritdoc}
- blockForm() : array<string|int, mixed>
- {@inheritdoc}
- blockSubmit() : void
- {@inheritdoc}
- build() : array<string|int, mixed>
- {@inheritdoc}
- create() : mixed
- {@inheritdoc}
Properties
$getFilesAndFoldersService
protected
GetFilesAndFoldersServiceInterface
$getFilesAndFoldersService
$graphService
protected
GraphService
$graphService
Methods
__construct()
Construct a O365BlockBase.
public
__construct(array<string|int, mixed> $configuration, mixed $plugin_id, mixed $plugin_definition, GraphService $graphService, GetFilesAndFoldersServiceInterface $getFilesAndFoldersService) : mixed
Parameters
- $configuration : array<string|int, mixed>
-
A configuration array containing information about the plugin instance.
- $plugin_id : mixed
-
The plugin_id for the plugin instance.
- $plugin_definition : mixed
-
The plugin implementation definition.
- $graphService : GraphService
-
The o365 Graph service.
- $getFilesAndFoldersService : GetFilesAndFoldersServiceInterface
access()
{@inheritdoc}
public
access(AccountInterface $account[, mixed $return_as_object = FALSE ]) : mixed
Parameters
- $account : AccountInterface
- $return_as_object : mixed = FALSE
blockForm()
{@inheritdoc}
public
blockForm(mixed $form, FormStateInterface $form_state) : array<string|int, mixed>
Parameters
- $form : mixed
- $form_state : FormStateInterface
Return values
array<string|int, mixed>blockSubmit()
{@inheritdoc}
public
blockSubmit(mixed $form, FormStateInterface $form_state) : void
Parameters
- $form : mixed
- $form_state : FormStateInterface
build()
{@inheritdoc}
public
build() : array<string|int, mixed>
Tags
Return values
array<string|int, 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