Available Variables#

The following methods are available to call in your Twig templates:

craft.superTable.blocks()#

See Super Table Block Queries

craft.superTable.getRelatedElements()#

Expands the default relationship behaviour to include Super Table fields so that the user can filter by those too.

{% set reverseRelatedElements = craft.superTable.getRelatedElements({
  relatedTo: {
      targetElement: entry,
      field: 'superTableFieldHandle.columnHandle',
  },
  ownerSite: 'siteHandle',
  elementType: 'craft\\elements\\Entry',
  criteria: {
      id: 'not 123',
      section: 'someSection',
  }
}).all() %}

Previous ← Layouts Next Rendering Content →