Drupal 8 Obtenha o nó do formulário
$node = $form_state->getFormObject()->getEntity();
Gleaming Gannet
$node = $form_state->getFormObject()->getEntity();