You are here

abstract public static function AppForm::appExists in Apigee Edge 8

Checks if the owner already has an app with the same name.

Parameters

string $name: The app name.

array $element: Form element.

\Drupal\Core\Form\FormStateInterface $form_state: Form state.

Return value

bool TRUE if the owner already has an app with the provided name or in case if an API communication error, FALSE otherwise.

File

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

Class

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

Namespace

Drupal\apigee_edge\Entity\Form

Code

public static abstract function appExists(string $name, array $element, FormStateInterface $form_state) : bool;