3 namespace Drupal\ctools\Annotation;
5 use Drupal\Component\Annotation\Plugin;
8 * Defines a Relationship item annotation object.
10 * @see \Drupal\ctools\Plugin\RelationshipManager
15 class Relationship extends Plugin {
25 * The label of the plugin.
27 * @var \Drupal\Core\Annotation\Translation
29 * @ingroup plugin_translatable
34 * The returned data type of this relationship
41 * The name of the property from which this relationship is derived.
45 public $property_name;
48 * The array of contexts requires or optional for this plugin.
50 * @var \Drupal\Core\Plugin\Context\ContextInterface[]