public function ModifierIndex::findModifiers in Persistent URL 8
File
- src/
Plugin/ ModifierIndex.php, line 20
Class
Namespace
Drupal\purl\PluginCode
public function findModifiers() {
$result = $this->connection
->select('purl_modifiers', 'p')
->fields('p', array(
'provider',
'modifier',
'value',
))
->execute();
return array_map(function ($row) {
return array_merge((array) $row, array(
'value' => unserialize($row->value),
));
}, $result
->fetchAll());
}