Skip to content
Snippets Groups Projects

argument plugins

Files
16
@@ -51,6 +51,9 @@ public static function create(ContainerInterface $container, array $configuratio
return new static($configuration, $plugin_id, $plugin_definition, $container->get('database'));
}
/**
* {@inheritdoc}
*/
public function title() {
if (!$this->argument) {
$title = \Drupal::config('user.settings')->get('anonymous');
@@ -65,6 +68,9 @@ public function title() {
return $title;
}
/**
* {@inheritdoc}
*/
protected function defaultActions($which = NULL) {
// Disallow summary views on this argument.
if (!$which) {
@@ -79,6 +85,9 @@ protected function defaultActions($which = NULL) {
}
}
/**
* {@inheritdoc}
*/
public function query($group_by = FALSE) {
$this->ensureMyTable();
Loading