Timeline for Delete locked fields, programmatically
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 26, 2016 at 5:26 | comment | added | 1kenthomas | ^^ yes, let's preserve tedious adherence to the letter of the rules instead of getting it right, especially when the tediousness gets it wrong. The edit which was proposed is what is needed to accomplish full deletion: $field = \Drupal::entityManager()->getStorage('field_config')->load($entity_type.$bundle_name.$field_machine_name); $field->delete(); field_purge_field($field); | |
Apr 28, 2016 at 5:58 | review | Suggested edits | |||
Apr 28, 2016 at 6:07 | |||||
Apr 28, 2016 at 5:56 | vote | accept | Mohammed Gomma | ||
Apr 27, 2016 at 19:23 | history | answered | Berdir | CC BY-SA 3.0 |