SharedFilesBlock
extends O365UncachedBlockBase
in package
implements
ContainerFactoryPluginInterface
Provides a 'Shared Files' block.
Tags
Interfaces, Classes, Traits and Enums
- ContainerFactoryPluginInterface
Table of Contents
- $getFilesAndFoldersService : GetFilesAndFoldersServiceInterface
- Drupal\o365_onedrive\GetFilesAndFoldersServiceInterface definition.
- __construct() : mixed
- Constructs a new SharedFilesBlock object.
- access() : mixed
- {@inheritdoc}
- build() : mixed
- {@inheritdoc}
- create() : mixed
- {@inheritdoc}
Properties
$getFilesAndFoldersService
Drupal\o365_onedrive\GetFilesAndFoldersServiceInterface definition.
protected
GetFilesAndFoldersServiceInterface
$getFilesAndFoldersService
Methods
__construct()
Constructs a new SharedFilesBlock object.
public
__construct(array<string|int, mixed> $configuration, string $plugin_id, string $plugin_definition, GetFilesAndFoldersServiceInterface $o365_onedrive_get_files) : 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 : string
-
The plugin implementation definition.
- $o365_onedrive_get_files : GetFilesAndFoldersServiceInterface
-
The GetFilesAndFoldersServiceInterface definition.
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
Tags
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