Created
November 7, 2016 09:26
-
-
Save slivorezka/44530794964562acccaf66c558dee60d to your computer and use it in GitHub Desktop.
Drupal 8 Get field value
This file contains 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
<?php | |
$field_value = $entity->get('field_name')->getString(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment