Global

Members

drupalSettingsobject

Variable generated by Drupal with all the configuration created from PHP.

drupalTranslationsobject

Variable generated by Drupal that holds all translated strings from PHP.

Content of this variable is automatically created by Drupal when using the Interface Translation module. It holds the translation of strings used on the page.

This variable is used to pass data from the backend to the frontend. Data contained in drupalSettings is used during behavior initialization.

Type Definitions

jQueryobject

A jQuery object, typically the return value from a $(selector) call.

Holds an HTMLElement or a collection of HTMLElements.

Properties:
Name Type Default Description
length number 0

Number of elements contained in the jQuery object.

Events

columnschange

Triggers when weights columns are toggled.

Listeners of This Event:

dialogContentResize

Triggers when content inside a dialog changes.

drupalTabbingConstrained

Allow modules to respond to the constrain event.

drupalTabbingContextActivated

Allow modules to respond to the constrain event.

drupalTabbingContextDeactivated

Allow modules to respond to the constrain event.

drupalTabbingContextReleased

Allow modules to respond to the tabbingContext release event.

drupalViewportOffsetChange

Triggers when layout of the page changes.

This is used to position fixed element on the page during page resize and Toolbar toggling.

formUpdated

Triggers when a value in the form changed.

The event triggers when content is typed or pasted in a text field, before the change event triggers.

Listeners of This Event:

summaryUpdated

Triggers when form values inside a vertical tab changes.

This is used to update the summary in vertical tabs in order to know what are the important fields' values.

Listeners of This Event: