You are here

public function ProviderInterface::getModifiers in Persistent URL 8

Return value

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.

1 method overrides ProviderInterface::getModifiers()
StaticProvider::getModifiers in src/Plugin/Purl/Provider/StaticProvider.php

File

src/Plugin/Purl/Provider/ProviderInterface.php, line 29

Class

ProviderInterface

Namespace

Drupal\purl\Plugin\Purl\Provider

Code

public function getModifiers();