record_shorten_views_handler_filter_string_service.inc in Shorten URLs 8.2
Same filename and directory in other branches
Allows choosing the Shorten URLs service.
File
modules/record_shorten/record_shorten_views_handler_filter_string_service.incView source
<?php
/**
* @file
* Allows choosing the Shorten URLs service.
*/
/**
* Sets up a form for choosing the Shorten URLs service.
*/
class RecordShortenViewsHandlerFilterStringService extends views_handler_filter_many_to_one {
/**
*
*/
public function getValueOptions() {
$this->value_options = array_combine(array_keys(\Drupal::moduleHandler()
->invokeAll('shorten_service')), array_keys(\Drupal::moduleHandler()
->invokeAll('shorten_service')));
}
}
Classes
Name![]() |
Description |
---|---|
RecordShortenViewsHandlerFilterStringService | Sets up a form for choosing the Shorten URLs service. |