Conditions are sets of requirements (e.g. PHP code, current page or site) that make the condition as a whole TRUE or FALSE. Other modules can provide new requirements or use the Condition API to trigger some kind of action (e.g. display a block or switch the theme to Garland) in case a condition is TRUE.Requirements
- PHP code - TRUE if the evaluated code returns TRUE
- Pages - TRUE if the any/all/none of the entered path(s) is/are (like) the current path.
- Sites - TRUE if the any/none of the checked multi-site directory(ies) is the current directory.
- Domains - TRUE if the any/none of the entered (sub)domain(s) is/are (like) the current domain.
Requirements:
· Drupal 6.x only.