Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download helper-7.x-1.5.tar.gztar.gz
27.72 KB
MD5: be1bd176a0a4f9929bcd7aafa27cad2f
SHA-1: 2c72babd37471d8381a25b8e2d3edad83e7c841b
SHA-256: a8b9f76b4a1acc324a1bf48d1b5b52f11a367f5d3aa9fb2ba31f694bed6684c9
Download helper-7.x-1.5.zipzip
36.3 KB
MD5: 06d49766692ed6597147eea6d7612db5
SHA-1: c01c5a56777b29e20f732f6fd63c3dcfde394a32
SHA-256: e7ef15ae061017af79822b6272f1dc3178b3513503e8fe87d206e5df4343ad75
Release notes
Changes since 7.x-1.4:
- Removed stray dpm() calls.
- Added option to skip updating revision table.
- Added EntityHelper::updateBaseTableValues().
- Added redirect delivery helpers.
- #1978140: Added page delivery callbacks.
- Added EntityHelper::filterByAccess() and FieldHelper::getfieldEntities().
- Added HttpHelper::getJson().
- Add request data to response object in HttpHelper.
- Added EntityHelper::queryId(s)byLabel().
- Added workaround for EntityHelper::view() and file entities: https://www.drupal.org/node/2365821.
- Simplified EntityHelper::getAllRevisionIDs().
- #2357347 by mtift: Fixed EntityHelper::getViewModeOptions() did not actually work.
- Have EntityHelper::view() return an empty array on failure.
- Added test coverage for getValues(), getValue(), hasDelta() and getFieldsByType() methods on FieldHelper.
- Added tests for FieldHelper::getReferencingFields().
- Fix cid used by FieldHelper::getReferencingFields().
- Fixed FieldHelper::getReferencingFields().
- Simplified FieldHelper::getValue() to avoid the call to ArrayHelper::extractNestedValuesToArray().
- Added UtilHelper::registerUniqueShutdownFunction().
- Use FieldException.
- Adding helpers for purging field instance data, merging fields and instances, and deleting fields and instances.
- Validate formatters on changing the field type.
- Ensure field widget module is reset.
- Fixed recursion with data key in field definition.
- Wrong order for in_array().
- Added docs for changeType().
- Added code to update changed field instance widgets.
- Adding experimental FieldChangeHelper for changing field types that contain data.
- Added Views cache invalidation to admin_menu and drush cc options.
- Added FieldHelper::viewValues().
- Added view() and viewMultiple() to EntityHelper.
- Added filterElementChildren() and filterVisibleElementChildren() to RenderHelper.
- Renamed filterArrayKeys() to filterKeys().
- Added ArrayHelper::filterKeys().
- Added tests for the rest of the ArrayHelper methods().
- Support $column arrays FieldHelper::getValues() and FieldHelper::extractValues().
- Fixed RenderHelper::rewriteStatesSelector() not defined as public static.
- Added docs to mapKeys() and revised parameter order to match array_map() itself.
- Added ArrayHelper::mapKeys().