This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [alias] | |
| branch-name = !git for-each-ref --format='%(refname:short)' `git symbolic-ref HEAD` | |
| cd-root = rev-parse --show-cdup | |
| branch-diff = !git format-patch --stdout $1 > `git cd-root``git branch-name`.patch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function entity_bundle_ajax_form() { | |
| $form['entity_type'] = array( | |
| '#type' => 'select', | |
| '#title' => t('Entity type'), | |
| '#options' => array('' => t('- Select one - ')), | |
| '#default_value' => '', | |
| '#ajax' => array( | |
| 'callback' => 'entity_bundle_ajax_form_callback', |
NewerOlder