You are here

public static function Vefl::getFormActions in Views exposed form layout 8.2

Same name and namespace in other branches
  1. 8.3 src/Vefl.php \Drupal\vefl\Vefl::getFormActions()
  2. 8 src/Vefl.php \Drupal\vefl\Vefl::getFormActions()

Returns action fields for views exposed form.

File

src/Vefl.php, line 82

Class

Vefl
Helper class that holds all the main Display Suite helper functions.

Namespace

Drupal\vefl

Code

public static function getFormActions() {
  $actions = [
    'sort_by' => t('Sort by'),
    'sort_order' => t('Sort order'),
    'items_per_page' => t('Items per page'),
    'offset' => t('Offset'),
    'submit' => t('Submit button'),
    'reset' => t('Reset button'),
  ];
  return $actions;
}