Issue #2288499 by er.pushpinderrana | jhodgdon: Fixed Action plugin classes need more docs links.
parent
d5bb653ba7
commit
2a4c2f6bf5
|
@ -12,6 +12,11 @@ use Drupal\Core\Action\ActionInterface;
|
|||
|
||||
/**
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -15,6 +15,8 @@ use Drupal\Core\Executable\ExecutableInterface;
|
|||
*
|
||||
* @see \Drupal\Core\Annotation\Action
|
||||
* @see \Drupal\Core\Action\ActionManager
|
||||
* @see \Drupal\Core\Action\ActionBase
|
||||
* @see plugin_api
|
||||
*/
|
||||
interface ActionInterface extends ExecutableInterface, PluginInspectionInterface {
|
||||
|
||||
|
|
|
@ -16,6 +16,8 @@ use Drupal\Core\Plugin\DefaultPluginManager;
|
|||
*
|
||||
* @see \Drupal\Core\Annotation\Action
|
||||
* @see \Drupal\Core\Action\ActionInterface
|
||||
* @see \Drupal\Core\Action\ActionBase
|
||||
* @see plugin_api
|
||||
*/
|
||||
class ActionManager extends DefaultPluginManager {
|
||||
|
||||
|
|
|
@ -12,8 +12,14 @@ use Drupal\Component\Annotation\Plugin;
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue