You are here

public static function DashboardLazyBuildInterface::lazyBuild in Dashboards with Layout Builder 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/DashboardLazyBuildInterface.php \Drupal\dashboards\Plugin\DashboardLazyBuildInterface::lazyBuild()

Callback for lazy build.

Parameters

\Drupal\dashboards\Plugin\DashboardBase $plugin: Plugin.

array $configuration: Configuration.

Return value

array Return renderable array.

1 call to DashboardLazyBuildInterface::lazyBuild()
DashboardLazyBuildBase::lazyBuildPreRender in src/Plugin/DashboardLazyBuildBase.php
Helper for lazy build render.
6 methods override DashboardLazyBuildInterface::lazyBuild()
Browser::lazyBuild in modules/dashboards_matomo/src/Plugin/Dashboard/Browser.php
Lazy build callback.
Country::lazyBuild in modules/dashboards_matomo/src/Plugin/Dashboard/Country.php
Lazy build callback.
OsVersion::lazyBuild in modules/dashboards_matomo/src/Plugin/Dashboard/OsVersion.php
Lazy build callback.
RssNews::lazyBuild in src/Plugin/Dashboard/RssNews.php
Lazy builder callback.
TopUrls::lazyBuild in modules/dashboards_matomo/src/Plugin/Dashboard/TopUrls.php
Lazy build callback.

... See full list

File

src/Plugin/DashboardLazyBuildInterface.php, line 21

Class

DashboardLazyBuildInterface
Interface for lazy builds.

Namespace

Drupal\dashboards\Plugin

Code

public static function lazyBuild(DashboardBase $plugin, array $configuration) : array;