Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* @file
* Provides TaskPlugin base class.
namespace Drupal\sitemanager\Annotation;
use Drupal\Component\Annotation\Plugin;
* Defines a Task plugin item annotation object.
* @see \Drupal\sitemanager\Plugin\TaskPluginManager
* @see plugin_api
* @Annotation
class TaskPlugin extends Plugin {
/* All of these should have proper doc comments */
public $id;
public $taskName;
public $status;
public $output;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment