interface ProviderInterface in Persistent URL 8
Hierarchy
- interface \Drupal\purl\Plugin\Purl\Provider\ProviderInterface
Expanded class hierarchy of ProviderInterface
All classes that implement ProviderInterface
1 file declares its use of ProviderInterface
- ModifierIndex.php in src/
Plugin/ ModifierIndex.php
File
- src/
Plugin/ Purl/ Provider/ ProviderInterface.php, line 7
Namespace
Drupal\purl\Plugin\Purl\ProviderView source
interface ProviderInterface {
/**
* @return array
*
* Should return an array of modifier arrays, i.e.
*
* return array(
* array(
* "modifier" => "modifier-1",
* "value" => 1,
* ),
* array(
* "modifier" => "modifier-2",
* "value" => 2,
* )
* )
*
* In theory, "value" can be anything. However, it must be something that
* can be serialized for caching and can be cheaply unserialized during
* run-time.
*/
public function getModifiers();
public function setId($id);
public function getId();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ProviderInterface:: |
public | function | 1 | |
ProviderInterface:: |
public | function | 1 | |
ProviderInterface:: |
public | function | 1 |