expandContexts()

Overview

public array function expandContexts(
      required array contexts
)

Returns an array of context IDs expanded from a source array of contexts to include any parent contexts

Arguments

NameTypeRequiredDescription
contextsarrayYesIDs of the contexts to expand