class RecordShortenViewsHandlerFilterStringService in Shorten URLs 8.2
Same name in this branch
- 8.2 modules/record_shorten/record_shorten_views_handler_filter_string_service.inc \RecordShortenViewsHandlerFilterStringService
- 8.2 modules/record_shorten/src/record_shorten_views_handler_filter_string_service.php \Drupal\record_shorten\RecordShortenViewsHandlerFilterStringService
Sets up a form for choosing the Shorten URLs service.
Hierarchy
- class \RecordShortenViewsHandlerFilterStringService extends \views_handler_filter_many_to_one
Expanded class hierarchy of RecordShortenViewsHandlerFilterStringService
1 string reference to 'RecordShortenViewsHandlerFilterStringService'
- record_shorten_views_data in modules/
record_shorten/ record_shorten.views.inc - Implements hook_views_data().
File
- modules/
record_shorten/ record_shorten_views_handler_filter_string_service.inc, line 11 - Allows choosing the Shorten URLs service.
View source
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')));
}
}