class TestProvider in Persistent URL 8
Hierarchy
- class \Drupal\purl\Plugin\Purl\Identifier\TestProvider implements IdentifierProviderInterface
Expanded class hierarchy of TestProvider
File
- src/
Plugin/ Purl/ Identifier/ TestProvider.php, line 5
Namespace
Drupal\purl\Plugin\Purl\IdentifierView source
class TestProvider implements IdentifierProviderInterface {
public function __construct() {
}
public function getIdentifiers() {
return array(
array(
"id" => "my_context_1",
"provider" => "event_provider",
"method" => "path",
"modifier" => "events",
"data" => 1,
),
array(
"id" => "my_context_2",
"provider" => "event_provider",
"method" => "path",
"modifier" => "dev-events",
"data" => 2,
),
array(
"id" => "my_context_3",
"provider" => "event_provider",
"method" => "subdomain",
"modifier" => "qa-events",
"data" => 3,
),
);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestProvider:: |
public | function |
Overrides IdentifierProviderInterface:: |
|
TestProvider:: |
public | function |