Skip to content

Instantly share code, notes, and snippets.

@acrosman
Created January 8, 2017 19:12
Show Gist options
  • Save acrosman/311d5cdf5beaa9b72efeb310f0ef9bfe to your computer and use it in GitHub Desktop.
Save acrosman/311d5cdf5beaa9b72efeb310f0ef9bfe to your computer and use it in GitHub Desktop.
<?php
/**
* @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