protected function AppCreateForm::saveButtonLabel in Apigee Edge 8
Returns the label of the Save button on the form.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The translatable label.
Overrides AppForm::saveButtonLabel
File
- src/
Entity/ Form/ AppCreateForm.php, line 252
Class
- AppCreateForm
- Base entity form for developer- and team (company) app create forms.
Namespace
Drupal\apigee_edge\Entity\FormCode
protected function saveButtonLabel() : TranslatableMarkup {
return $this
->t('Add @app', [
'@app' => mb_strtolower($this
->appEntityDefinition()
->getSingularLabel()),
]);
}