AdminThemeFramework::getAddNewActions()

Get “Add New” button actions

  • Returns array of arrays, each with 'url', 'label' and 'icon' properties.
  • Returns empty array if Add New button should not be displayed.

Usage

$array = $adminThemeFramework->getAddNewActions();

Return value

array


AdminThemeFramework methods and properties

API reference based on ProcessWire core version 3.0.252