public function DashboardBase::__construct in Dashboards with Layout Builder 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/DashboardBase.php \Drupal\dashboards\Plugin\DashboardBase::__construct()
Constructs a \Drupal\Component\Plugin\PluginBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
Overrides PluginBase::__construct
8 calls to DashboardBase::__construct()
- Account::__construct in src/
Plugin/ Dashboard/ Account.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- AddContentMenu::__construct in src/
Plugin/ Dashboard/ AddContentMenu.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- Comments::__construct in modules/
dashboards_comments/ src/ Plugin/ Dashboard/ Comments.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- MatomoBase::__construct in modules/
dashboards_matomo/ src/ Plugin/ Dashboard/ MatomoBase.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- MostReaded::__construct in modules/
dashboards_statistic/ src/ Plugin/ Dashboard/ MostReaded.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
8 methods override DashboardBase::__construct()
- Account::__construct in src/
Plugin/ Dashboard/ Account.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- AddContentMenu::__construct in src/
Plugin/ Dashboard/ AddContentMenu.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- Comments::__construct in modules/
dashboards_comments/ src/ Plugin/ Dashboard/ Comments.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- MatomoBase::__construct in modules/
dashboards_matomo/ src/ Plugin/ Dashboard/ MatomoBase.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- MostReaded::__construct in modules/
dashboards_statistic/ src/ Plugin/ Dashboard/ MostReaded.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
File
- src/
Plugin/ DashboardBase.php, line 33
Class
- DashboardBase
- Base class for Dashboard plugins.
Namespace
Drupal\dashboards\PluginCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, CacheBackendInterface $cache_backend) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $plugin_definition);
$this->cache = $cache_backend;
}