Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $fields = DrupalCoreEntityEntityTypeManagerInterface->getStorage('field_storage_config')->loadMultiple();
- foreach ($fields as $key => $instance) {
- $label = $instance->getLabel();
- $name = $instance->getName();
- }
Add Comment
Please, Sign In to add comment