public function FieldEntryFormController::editTitle in Flag 8.4
Title callback when editing an existing flagging.
Parameters
\Drupal\flag\FlagInterface $flag: The flag entity.
int $entity_id: The entity ID to unflag.
Return value
string The flag field entry form title.
1 string reference to 'FieldEntryFormController::editTitle'
File
- src/
Controller/ FieldEntryFormController.php, line 179
Class
- FieldEntryFormController
- Provides a controller for the Field Entry link type.
Namespace
Drupal\flag\ControllerCode
public function editTitle(FlagInterface $flag, $entity_id) {
$link_type = $flag
->getLinkTypePlugin();
return $link_type
->getEditFlaggingTitle();
}