Namespace: fieldUIOverview

Drupal.fieldUIOverview

Namespace for the field UI overview.

Source:

Methods

(static) AJAXRefreshRows(rows)

Triggers Ajax refresh of selected rows.

The 'format type' selects can trigger a series of changes in child rows. The #ajax behavior is therefore not attached directly to the selects, but triggered manually through a hidden #ajax 'Refresh' button.

Parameters:
Name Type Description
rows object

A hash object, whose keys are the names of the rows to refresh (they will receive the 'ajax-new-content' effect on the server side), and whose values are the DOM element in the row that should get an Ajax throbber.

Source:

(static) attach(table, rowsData, rowHandlers)

Attaches the fieldUIOverview behavior.

Parameters:
Name Type Description
table HTMLTableElement

The table element for the overview.

rowsData object

The data of the rows in the table.

rowHandlers object

Handlers to be added to the rows.

Source:

(static) onChange()

Event handler to be attached to form inputs triggering a region change.

Source:

(static) onDrop()

Lets row handlers react when a row is dropped into a new region.

Source:

(static) onSwap(draggedRow)

Refreshes placeholder rows in empty regions while a row is being dragged.

Copied from block.js.

Parameters:
Name Type Description
draggedRow HTMLElement

The tableDrag rowObject for the row being dragged.

Source: