Last active
May 5, 2018 20:51
-
-
Save init90/330ec3864635d7e46e333ab41803b322 to your computer and use it in GitHub Desktop.
drupal 8, get entity from $form_state.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $form_state->getFormObject()->getEntity(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment