3 namespace Drupal\ctools\Plugin;
5 use Drupal\Component\Plugin\DerivativeInspectionInterface;
6 use Drupal\Core\Plugin\ContextAwarePluginInterface;
9 * Defines an interface for Relationship plugins.
11 interface RelationshipInterface extends ContextAwarePluginInterface, DerivativeInspectionInterface {
14 * Generates a context based on this plugin's configuration.
16 * @return \Drupal\Core\Plugin\Context\ContextInterface
18 public function getRelationship();
21 * The name of the property used to get this relationship.
25 public function getName();