From 2a4c2f6bf5e63bfc286e4e377fa8ccc200af7e8b Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Wed, 25 Jun 2014 09:13:48 +0100 Subject: [PATCH] Issue #2288499 by er.pushpinderrana | jhodgdon: Fixed Action plugin classes need more docs links. --- core/lib/Drupal/Core/Action/ActionBase.php | 5 +++++ core/lib/Drupal/Core/Action/ActionInterface.php | 2 ++ core/lib/Drupal/Core/Action/ActionManager.php | 2 ++ core/lib/Drupal/Core/Annotation/Action.php | 6 ++++++ 4 files changed, 15 insertions(+) diff --git a/core/lib/Drupal/Core/Action/ActionBase.php b/core/lib/Drupal/Core/Action/ActionBase.php index 136fbb7da9d9..89e184ae8eab 100644 --- a/core/lib/Drupal/Core/Action/ActionBase.php +++ b/core/lib/Drupal/Core/Action/ActionBase.php @@ -12,6 +12,11 @@ /** * Provides a base implementation for an Action plugin. + * + * @see \Drupal\Core\Annotation\Action + * @see \Drupal\Core\Action\ActionManager + * @see \Drupal\Core\Action\ActionInterface + * @see plugin_api */ abstract class ActionBase extends PluginBase implements ActionInterface { diff --git a/core/lib/Drupal/Core/Action/ActionInterface.php b/core/lib/Drupal/Core/Action/ActionInterface.php index a53d7bbef576..4147cea8d5ca 100644 --- a/core/lib/Drupal/Core/Action/ActionInterface.php +++ b/core/lib/Drupal/Core/Action/ActionInterface.php @@ -15,6 +15,8 @@ * * @see \Drupal\Core\Annotation\Action * @see \Drupal\Core\Action\ActionManager + * @see \Drupal\Core\Action\ActionBase + * @see plugin_api */ interface ActionInterface extends ExecutableInterface, PluginInspectionInterface { diff --git a/core/lib/Drupal/Core/Action/ActionManager.php b/core/lib/Drupal/Core/Action/ActionManager.php index b77e0f8a6b8d..d3a4c0ab68f0 100644 --- a/core/lib/Drupal/Core/Action/ActionManager.php +++ b/core/lib/Drupal/Core/Action/ActionManager.php @@ -16,6 +16,8 @@ * * @see \Drupal\Core\Annotation\Action * @see \Drupal\Core\Action\ActionInterface + * @see \Drupal\Core\Action\ActionBase + * @see plugin_api */ class ActionManager extends DefaultPluginManager { diff --git a/core/lib/Drupal/Core/Annotation/Action.php b/core/lib/Drupal/Core/Annotation/Action.php index 0464ed23a33c..0e4fd737e39e 100644 --- a/core/lib/Drupal/Core/Annotation/Action.php +++ b/core/lib/Drupal/Core/Annotation/Action.php @@ -12,8 +12,14 @@ /** * Defines an Action annotation object. * + * Plugin Namespace: Plugin\Action + * + * For a working example, see \Drupal\node\Plugin\Action\UnpublishNode + * * @see \Drupal\Core\Action\ActionInterface * @see \Drupal\Core\Action\ActionManager + * @see \Drupal\Core\Action\ActionBase + * @see plugin_api * * @Annotation */ -- GitLab