interface LinkProviderManagerInterface in JSON:API Hypermedia 8
Interface LinkProviderManagerInterface.
@internal
Hierarchy
- interface \Drupal\Component\Plugin\PluginManagerInterface; interface \Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface
- interface \Drupal\jsonapi_hypermedia\Plugin\LinkProviderManagerInterface
Expanded class hierarchy of LinkProviderManagerInterface
All classes that implement LinkProviderManagerInterface
See also
\Drupal\jsonapi_hypermedia\Annotation\JsonapiHypermediaLinkProvider
\Drupal\jsonapi_hypermedia\Plugin\LinkProviderManager
\Drupal\jsonapi_hypermedia\LinkProviderInterface
1 file declares its use of LinkProviderManagerInterface
- JsonapiHypermediaLinkCollectionNormalizer.php in src/
Normalizer/ JsonapiHypermediaImpostor/ JsonapiHypermediaLinkCollectionNormalizer.php
File
- src/
Plugin/ LinkProviderManagerInterface.php, line 17
Namespace
Drupal\jsonapi_hypermedia\PluginView source
interface LinkProviderManagerInterface extends PluginManagerInterface, CachedDiscoveryInterface {
/**
* Gets a LinkCollection of 3rd-party links for the given context object.
*
* @param \Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel|\Drupal\jsonapi\JsonApiResource\ResourceObject|\Drupal\jsonapi\JsonApiResource\Relationship $context
* The link context object.
*
* @return \Drupal\jsonapi\JsonApiResource\LinkCollection
* The link collection.
*/
public function getLinkCollection($context);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CachedDiscoveryInterface:: |
public | function | Clears static and persistent plugin definition caches. | 2 |
CachedDiscoveryInterface:: |
public | function | Disable the use of caches. | 2 |
DiscoveryInterface:: |
public | function | Gets a specific plugin definition. | 4 |
DiscoveryInterface:: |
public | function | Gets the definition of all plugins for this type. | 3 |
DiscoveryInterface:: |
public | function | Indicates if a specific plugin definition exists. | 2 |
FactoryInterface:: |
public | function | Creates a pre-configured instance of a plugin. | 7 |
LinkProviderManagerInterface:: |
public | function | Gets a LinkCollection of 3rd-party links for the given context object. | 1 |
MapperInterface:: |
public | function | Gets a preconfigured instance of a plugin. | 4 |