Skip to content

ElementIndexes

Type
Class
Namespace
craft\web\twig\variables
Inherits
craft\web\twig\variables\ElementIndexes
Since
3.0.0
Deprecated in
in 3.0.0

Class ElementIndexes variable.

View source

Public Methods

MethodDescription
getSources()Returns the element index sources in the custom groupings/order.

getSources()

Returns the element index sources in the custom groupings/order.

View source

Arguments

  • $elementTypeClass (string) – The element type class
  • $context (string) – The context

Returns

array