Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download tar.gz
32.88 KB
MD5: cd722bbbb301d2252d447b88199accd4
SHA-1: c212697146982973b01d941d1fd1e79e7bf19159
SHA-256: 036a1258a30a0213cf9e3e7b07a2541d565fa369b4a244a35f12d8ae01f5d94e
Download zip
43.83 KB
MD5: bd4eed71cdcea7e434e853dbf5405980
SHA-1: afe347ccea67661b5206e8fa6540cfe9f7bd6f52
SHA-256: fe5c9fdc9d81c38e94d62cf0b4ce3cca38fb3ff147ad5b22010e2e1830dfe18d
Release notes
Changes since 7.x-1.5:
- Added helper_get_field_allowed_values().
- Ensure FieldHelper::getFieldEntities() returns an array keyed by entity ID.
- Fixed implememts.
- Added Drupal.formatInterval() JS helper.
- Added a $flatten option to EntityHelper::getAllReferencesTo().
- Fixed parameter names in FieldHelper.
- Deprecated FeaturesHelper::revert() and added tests for FeaturesHelper.
- EntityHelper::getAllReferencesTo() should return results by column in addition to field.
- Exclude admin/config/media/theplatform/accounts/add path from destination query string.
- Added RenderHelper::viewBlock().
- Added EntityHelper::deleteMultiple().
- Avoid calling field_get_items() if $entity->{$field_name} is empty.
- Removed check for drush_drupal_major_version() in helper_drush_cache_clear().
- Added ArrayHelper::chunkEvenly().
- Only cache GET and HEAD requests.
- Throw exceptions in unable to parse XML.
- Added respect for Cache-Control: max-age=SECONDS.
- #2403979 by q0rban: Fixed class name typo in helper.info.
- Added $value_if_not_exists parameter to ArrayHelper::transformAssociativeValues().
- Renamed to ArrayHelper::transformAssociativeValues().
- Added ArrayHelper::replaceAssociativeValues().
- Added different workaround for non-right-content-type-header issue on AJAX requests causing issues with XHProf.
- Wrong option key in EntityHeper::isPubliclyVisible().
- Return results for getAllReferencesTo() by field name.
- Disable the node delete tab tweak by default.
- Fixed status of tweaks from the variable.
- Make entity.module an official dependency.
- Tweak option key.
- Added EntityHelper::getAllReferencesTo(), EntityHelper::isPubliclyVisible(), and FieldHelper::getEntityReferencingFieldByType().
- Fixed XML parsing and added more test coverage for going back and forth between format_xml_elements().
- Adding UtilHelper test case.
- Fixed call to spliceAssociativeValues().
- Use require_once in tests.
- Added XmlHelper::parseElements() as a converse to format_xml_elements(). Also adds ArrayHelper::spliceAssociativeValues().
- Added hook_format_date_alter().
- Added $account parameter support for EntityHelper::filterByAccess().