Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
novicell/dds_sendgrid / modules / template_list / dds_sendgrid_template_list.module
Size: Mime:
<?php

use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function dds_sendgrid_template_list_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.dds_sendgrid_template_list':
      return 'Maintains a list of all templates from a SendGrid account for easy reference.';
  }
}

function _asort_recursive(&$array) {
  if (is_array($array)) {
    asort($array);
    array_walk($array, '_asort_recursive');
  }
}