You are here

abstract protected function AppForm::saveAppCredentials in Apigee Edge 8

Save app credentials on Apigee Edge.

It should log failures but it should not display messages to users. This is handled in save().

Parameters

\Drupal\apigee_edge\Entity\AppInterface $app: The app entity which credentials gets updated.

\Drupal\Core\Form\FormStateInterface $form_state: The form state object with the credential related changes.

Return value

bool|null TRUE on success, FALSE or failure, NULL if no action performed (because credentials did not change).

1 call to AppForm::saveAppCredentials()
AppForm::save in src/Entity/Form/AppForm.php
Form submission handler for the 'save' action.
2 methods override AppForm::saveAppCredentials()
AppCreateForm::saveAppCredentials in src/Entity/Form/AppCreateForm.php
Save app credentials on Apigee Edge.
AppEditForm::saveAppCredentials in src/Entity/Form/AppEditForm.php
Save app credentials on Apigee Edge.

File

src/Entity/Form/AppForm.php, line 224

Class

AppForm
Base entity form for developer- and team (company) app create/edit forms.

Namespace

Drupal\apigee_edge\Entity\Form

Code

protected abstract function saveAppCredentials(AppInterface $app, FormStateInterface $form_state) : ?bool;