You are here

record_shorten_views_handler_filter_string_service.php in Shorten URLs 8.2

File

modules/record_shorten/src/record_shorten_views_handler_filter_string_service.php
View source
<?php

namespace Drupal\record_shorten;


/**
 * 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

Namesort descending Description
RecordShortenViewsHandlerFilterStringService Sets up a form for choosing the Shorten URLs service.