abstract public function FacetapiDependency::execute in Facet API 7
Same name and namespace in other branches
- 6.3 plugins/facetapi/dependency.inc \FacetapiDependency::execute()
- 7.2 plugins/facetapi/dependency.inc \FacetapiDependency::execute()
Performs the dependency check.
The dependency system works similar to hook_node_access() in that returning FASLE explicitly fails the dependency, returning NULL does not actively pass or fail the dependency, and returning TRUE explicitly passes the dependency even if other plugins already returned FALSE. Plugins will usually return either NULL or FALSE in this method.
Return value
boolean|NULL Return NULL to pass through to other dependency plugins, or return a boolean to explicitly set the result.
2 methods override FacetapiDependency::execute()
- FacetapiDependencyBundle::execute in plugins/
facetapi/ dependency_bundle.inc - Implements FacetapiDependency::execute().
- FacetapiDependencyRole::execute in plugins/
facetapi/ dependency_role.inc - Implements FacetapiDependency::execute().
File
- plugins/
facetapi/ dependency.inc, line 122 - Base dependency plugin class.
Class
- FacetapiDependency
- Abstract class extended by dependency plugins.
Code
public abstract function execute();