Microsoft 365 Connector

SharedFilesBlock extends O365UncachedBlockBase
in package
implements ContainerFactoryPluginInterface

FinalYes

Provides a 'Shared Files' block.

Tags
Block

( id = "o365_shared_files", admin_label = @Translation("Shared Files"), category = @Translation("Microsoft 365") )

Table of Contents

Interfaces

ContainerFactoryPluginInterface

Properties

$getFilesAndFoldersService  : GetFilesAndFoldersServiceInterface
$graphService  : GraphService

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

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
throws
TempStoreException
throws
IdentityProviderException
throws
GraphException
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
✖ Error 404 while fetching file: ✖ Error 404 while fetching file: 
On this page

Search results