You are here

public function TestProvider::getIdentifiers in Persistent URL 8

Overrides IdentifierProviderInterface::getIdentifiers

File

src/Plugin/Purl/Identifier/TestProvider.php, line 11

Class

TestProvider

Namespace

Drupal\purl\Plugin\Purl\Identifier

Code

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,
    ),
  );
}