You are here

public function NodeAuthlinkNodeForm::deleteAuthlink in Node authorize link 8

Delete authlink submit callback.

Parameters

array $form:

\Drupal\Core\Form\FormStateInterface $form_state:

File

src/Form/NodeAuthlinkNodeForm.php, line 199

Class

NodeAuthlinkNodeForm
Class NodeAuthlinkNodeForm.

Namespace

Drupal\node_authlink\Form

Code

public function deleteAuthlink(array &$form, FormStateInterface $form_state) {
  node_authlink_delete($form_state
    ->getBuildInfo()['args'][0]);
}