interface GridField_ActionMenuLink implements GridField_ActionMenuItem

Allows GridField_ActionMenuItem to act as a link

Methods

string
getTitle($gridField, $record, $columnName)

Gets the title for this menu item

array
getExtraData($gridField, $record, $columnName)

Gets any extra data that could go in to the schema that the menu generates

string|null
getGroup($gridField, $record, $columnName)

Gets the group this menu item will belong to. A null value should indicate the button should not display.

string
getUrl($gridField, $record, $columnName)

Gets the action url for this menu item

Details

string getTitle($gridField, $record, $columnName)

Gets the title for this menu item

Parameters

$gridField
$record
$columnName

Return Value

string $title

See also

{@link GridField_ActionMenu->getColumnContent()}

array getExtraData($gridField, $record, $columnName)

Gets any extra data that could go in to the schema that the menu generates

Parameters

$gridField
$record
$columnName

Return Value

array $data

See also

{@link GridField_ActionMenu->getColumnContent()}

string|null getGroup($gridField, $record, $columnName)

Gets the group this menu item will belong to. A null value should indicate the button should not display.

Parameters

$gridField
$record
$columnName

Return Value

string|null $group

See also

{@link GridField_ActionMenu->getColumnContent()}

at line 22
string getUrl($gridField, $record, $columnName)

Gets the action url for this menu item

Parameters

$gridField
$record
$columnName

Return Value

string $url

See also

{@link GridField_ActionMenu->getColumnContent()}