GridField_ActionMenuItem
interface GridField_ActionMenuItem implements GridFieldComponent (View source)
GridField action menu item interface, this provides data so the action will be included if there is a {GridField_ActionMenu}
Constants
DEFAULT_GROUP |
Default group name |
Methods
public
string
public
array
getExtraData(GridField $gridField, ViewableData $record, $columnName)
Gets any extra data that could go in to the schema that the menu generates
public
string|null
getGroup(GridField $gridField, ViewableData $record, $columnName)
Gets the group this menu item will belong to. A null value should indicate the button should not display.
Details
string
getTitle(GridField $gridField, ViewableData $record, $columnName)
Gets the title for this menu item
array
getExtraData(GridField $gridField, ViewableData $record, $columnName)
Gets any extra data that could go in to the schema that the menu generates
string|null
getGroup(GridField $gridField, ViewableData $record, $columnName)
Gets the group this menu item will belong to. A null value should indicate the button should not display.