You are here

sophron.install in Sophron 8

Sophron - MIME types management API.

File

sophron.install
View source
<?php

/**
 * @file
 * Sophron - MIME types management API.
 */

/**
 * Implements hook_requirements().
 */
function sophron_requirements($phase) {
  if ($phase === 'runtime') {
    return \Drupal::service('sophron.mime_map.manager')
      ->requirements($phase);
  }
  return [];
}

Functions

Namesort descending Description
sophron_requirements Implements hook_requirements().