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\FormCode
public function deleteAuthlink(array &$form, FormStateInterface $form_state) {
node_authlink_delete($form_state
->getBuildInfo()['args'][0]);
}