You are here

function popup_onload_sort_methods in Popup On Load 8

Same name and namespace in other branches
  1. 7 popup_onload.module \popup_onload_sort_methods()

Returns an array of sort methods, declared in all enabled modules.

2 calls to popup_onload_sort_methods()
PopupOnLoadSettingsForm::buildForm in src/Form/PopupOnLoadSettingsForm.php
Defines the settings form for Popup On Load entities.
popup_onload_choose_popup in ./popup_onload.module
Load the current popup using current choose method.

File

./popup_onload.module, line 141
Contains main popup_onload hooks and functions.

Code

function popup_onload_sort_methods() {
  return \Drupal::moduleHandler()
    ->invokeAll('popup_onload_sort_methods');
}