You are here

function _patterns_lab_get_exp_mode_options in Patterns 7

Same name and namespace in other branches
  1. 7.2 includes/forms/ \_patterns_lab_get_exp_mode_options()

Builds an associative array of export options.

Checks if zip compression is available.

1 call to _patterns_lab_get_exp_mode_options()
patterns_lab in includes/forms/
@file Functions related to exporting patterns.


includes/forms/, line 280
Functions related to exporting patterns.


function _patterns_lab_get_exp_mode_options() {
  $options = array(
    PATTERNS_EXPORT_MODE_FULL => t('All the sections (info and modules included) of the pattern'),
    PATTERNS_EXPORT_MODE_ACTIONS => t('Actions only (info and modules sections excluded) of the pattern'),
    PATTERNS_EXPORT_MODE_NAME => t('The unique name of the pattern'),
    PATTERNS_EXPORT_MODE_ID => t('The numerical id of the pattern'),
  return $options;