ElementIndexes

Type
Class
Namespace
craft\web\twig\variables
Inherits
craft\web\twig\variables\ElementIndexes
Since
3.0
Deprecated in
in 3.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

Signature

public array getSources ( \craft\web\twig\variables\string $elementTypeClass, \craft\web\twig\variables\string $context = 'index' )