Search for required

  1. Search 8.x-3.x for required
  2. Search 4.0.x for required
  3. Other projects
Title Object type File name Summary
CtoolsContextUnitTestCase::testOptionalRequiredContext function tests/context.test Tests that contexts have the correct required property value.
ctools_context_add_required_context_form function includes/context-admin.inc
ctools_context_match_required_contexts function includes/context.inc Match up external contexts to our required contexts.
ctools_context_optional::$required property includes/context.inc Test to see if this context is required.
ctools_context_required class includes/context.inc Used to create a method of comparing if a list of contexts
match a required context type.
ctools_context_required::$keywords property includes/context.inc Keyword strings associated with the context.
ctools_context_required::$required property includes/context.inc Test to see if this context is required.
ctools_context_required::$skip_name_check property includes/context.inc If TRUE, skip the check in ctools_context_required::select()
for contexts whose names may have changed.
ctools_context_required::$title property includes/context.inc 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/context.inc Filter the contexts to determine which apply in the current environment.
ctools_context_required::select function includes/context.inc Select one context from the list of contexts, accounting for changed IDs.
ctools_context_required::__construct function includes/context.inc The ctools_context_required constructor.