ElementIndexesVariable

Type
Class
Namespace
Craft
Inherits
Craft\ElementIndexesVariable
Since
2.5

Class ElementIndexesVariable

See also http://craftcms.com

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 ( $elementTypeClass, $context = 'index' )