Skip to content

Instantly share code, notes, and snippets.

View nedSaf's full-sized avatar
👨‍💻
I may be slow to respond.

Nader Safadi nedSaf

👨‍💻
I may be slow to respond.
View GitHub Profile
@HelenaEksler
HelenaEksler / gist:0e632fc94d37e89ff5b6
Created August 6, 2015 09:42
Add .test to user emails.
UPDATE `users` SET `mail` = CONCAT(`mail`, '.test')
<?php
/**
* Implements hook_field_info_alter().
*
* Adding entity metadata wrapper support for the image field crop module.
*/
function os_profiles_field_info_alter(&$info) {
$info['imagefield_crop'] += array(
'property_type' => 'field_item_image',