You are here

class TestProvider in Persistent URL 8

Hierarchy

Expanded class hierarchy of TestProvider

File

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

Namespace

Drupal\purl\Plugin\Purl\Identifier
View 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