Answer the question
In order to leave comments, you need to log in
How to update all elements of entity types programmatically?
It is necessary to update all elements of the entity, there are more than 2000 of them. The essence is that in each element, when saving, a url is generated through transliteration. There are a lot of elements, so as not to update the element of the entity types one by one, you need a solution that can automatically update all the elements. I have already rummaged through a lot of information, I tried it through VBO, but there is no such support, as I understand it.
Answer the question
In order to leave comments, you need to log in
tried to run like this, but elements are not updated
$entity_type = 'service';
$wrapper = entity_metadata_wrapper($entity_type, $entity);
$wrapper->save();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question