You are here

constants.inc in Taxonomy Term Depth 8

Same filename and directory in other branches
  1. 8.2 constants.inc
  2. 7 constants.inc

Constants file

File

constants.inc
View source
<?php

/**
 * @file
 * Constants file
 */

/*
 * Essential constant definitions
 */

/**
 * Absolute path to module
 */
define('TAXONOMY_TERM_DEPTH_ROOT', __DIR__);

// Module root

/**
 * Relevant path to current module
 */
define('TAXONOMY_TERM_DEPTH_ROOT_REL', str_replace(DRUPAL_ROOT . DIRECTORY_SEPARATOR, NULL, TAXONOMY_TERM_DEPTH_ROOT));

/**
 * Field used for storing taxonomy level value
 */
define('TAXONOMY_TERM_DEPTH_CACHE_PROPERTY', 'depth');

Constants

Namesort descending Description
TAXONOMY_TERM_DEPTH_CACHE_PROPERTY Field used for storing taxonomy level value
TAXONOMY_TERM_DEPTH_ROOT Absolute path to module
TAXONOMY_TERM_DEPTH_ROOT_REL Relevant path to current module