I am using Drupal 8 for a project for learning purposes. In my case I want to access to a field which contains multiple values, but I can't find how to do that. For example for a single value field I can access it like this:
kint($variables['node']->field_name->value);
But how can I get all the values of field which allows more than one value?
contain more than user
you mean more than 1 value?