class LayoutBuilderAccessCheck implements AccessInterface (View source)

internal  Tagged services are internal.
 

Provides an access check for the Layout Builder defaults.

Methods

access(SectionStorageInterface $section_storage, AccountInterface $account, Route $route)

Checks routing access to the layout.

Details

AccessResultInterface access(SectionStorageInterface $section_storage, AccountInterface $account, Route $route)

Checks routing access to the layout.

Parameters

SectionStorageInterface $section_storage

The section storage.

AccountInterface $account

The current user.

Route $route

The route to check against.

Return Value

AccessResultInterface

The access result.