New!
Import instagram posts as nodes automatically with the instagram importer module for drupal 8 & 9.

 

Jun 25, 2019 in Drupal 8, Snippets

getting entity field values programmatically is easy, but check this out. With this snippet you get the value directly of a single field value:

$entity->get("fieldName")->getString();