Note: You are currently viewing documentation for Moodle 3.7. Up-to-date documentation for the latest stable version of Moodle may be available here: Dataformfield entryactions.

Dataformfield entryactions

From MoodleDocs


Displays the entry action links/icons (e.g. edit, delete, duplicate etc.).

Features

  • Accessed controlled entry edit, delete, duplicate, export, select, more (single view) action links.
  • View designation of edit and more actions.
  • Bulk duplicate, edit, select, delete.
  • Dropdown display of actions.

Settings

Not applicable.


Patterns

Entry level patterns

[[EAC:actionmenu]]

Displays the entry actions available for the user as dropdown menu.

[[EAC:edit]]

Displays the entry edit action link with default edit icon. Opens the edit form in the current view.

[[EAC:delete]]

Displays the entry delete action link with default delete icon.

[[EAC:select]]

Displays the entry select checkbox for bulk actions.

[[EAC:export]]

Displays the entry export action link with default export icon. Opens the portfolio exporter.

[[EAC:duplicate]]

Displays the entry duplicate action link with default duplicate icon.

[[EAC:anchor]]

Adds to the page an entry anchor with the name “entryid” (id is the entry id);

[[EAC:more]]

Displays the entry single view action link with the default more icon. Opens the current view with only this entry displayed.

[[EAC:moreurl]]

Displays the url of the single entry view action link.

[[EAC:more:viewname]]

Displays the entry single view (in the specified view) action link with the default more icon. Opens the specified view with only this entry displayed.

[[EAC:moreurl:viewname]]

Displays the entry single view (in the specified view) action link.

[[EAC:edit:viewname]]

Displays the entry edit (in the specified view) action link with default edit icon. Opens the edit form in the specified view.

View level patterns

These patterns do not contain entry specific data and should typically be added to the View template rather than the Entry template.

[[EAC:selectallnone]]

Displays a checkbox to select or deselect all entry selector on the page.

[[EAC:bulkduplicate]]

Displays a bulk entry duplicate action link with the default duplicate icon. The link will trigger a confirmation required duplication of all selected entries on the page.

[[EAC:bulkedit]]

Displays a bulk entry edit action link with the default edit icon. The link will open editing form for all selected entries on the page.

[[EAC:bulkdelete]]

Displays a bulk entry delete action link with the default delete icon. The link will trigger a confirmation required deletion of all selected entries on the page.

[[EAC:bulkexport]]

Displays a bulk entry export action link with the default export icon. The link will send all selected entries on the page to the portfolio exporter.

Sort / Search

Not applicable.

Import / Export

Not applicable.