Search for required
Title | Object type | File name | Summary |
---|---|---|---|
CtoolsContextUnitTestCase::testOptionalRequiredContext | function | tests/ |
Tests that contexts have the correct required property value. |
ctools_context_add_required_context_form | function | includes/ |
|
ctools_context_match_required_contexts | function | includes/ |
Match up external contexts to our required contexts. |
ctools_context_optional::$required | property | includes/ |
Test to see if this context is required. |
ctools_context_required | class | includes/ |
Used to create a method of comparing if a list of contexts match a required context type. |
ctools_context_required::$keywords | property | includes/ |
Keyword strings associated with the context. |
ctools_context_required::$required | property | includes/ |
Test to see if this context is required. |
ctools_context_required::$skip_name_check | property | includes/ |
If TRUE, skip the check in ctools_context_required::select() for contexts whose names may have changed. |
ctools_context_required::$title | property | includes/ |
If set, the title will be used in the selector to identify the context. This is very useful when multiple contexts are required to inform the user will be used for what. |
ctools_context_required::filter | function | includes/ |
Filter the contexts to determine which apply in the current environment. |
ctools_context_required::select | function | includes/ |
Select one context from the list of contexts, accounting for changed IDs. |
ctools_context_required::__construct | function | includes/ |
The ctools_context_required constructor. |