You are here

public function NodeAuthlinkNodeForm::createAuthlink in Node authorize link 8

Create authlink submit callback.

Parameters

array $form:

\Drupal\Core\Form\FormStateInterface $form_state:

File

src/Form/NodeAuthlinkNodeForm.php, line 190

Class

NodeAuthlinkNodeForm
Class NodeAuthlinkNodeForm.

Namespace

Drupal\node_authlink\Form

Code

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