#Description#
Simple Dashing Job to display Trello info about your boards. Uses Trello API.
#Dependencies# ruby-trello
| /** | |
| * Implements field_group_build_pre_render_alter. | |
| */ | |
| function iniciativas_field_group_build_pre_render_alter(&$element) { | |
| if (!isset($element['#view_mode']) && isset($element['group_edit_datos_basicos'])) { | |
| $element['group_edit_datos_basicos'] += array( | |
| '#states' => array( | |
| 'visible' => array( | |
| '#edit-field-iniciativa-tipo-und' => array('value' => 'individual'), | |
| ), |
| (function($) { | |
| // updates the ... | |
| $.ajax({ | |
| url: "/my_module/update/" + Drupal.settings.my_module_node.nid, | |
| type: "POST", | |
| dataTypeString: "text" | |
| }); | |
| })(jQuery); |
| /** | |
| * Delete fields and instancies | |
| */ | |
| function yourmodule_update_7002() { | |
| $bundles = array ( | |
| 'your_contentype' => array( | |
| 'field_yourfield', | |
| ), | |
| ); |
#Description#
Simple Dashing Job to display Trello info about your boards. Uses Trello API.
#Dependencies# ruby-trello
| # This allows you to search through your history using the up and down arrows | |
| "\e[A": history-search-backward | |
| "\e[B": history-search-forward | |
| # This alters the default behavior of the completion functions. | |
| # If set to ‘on’, words which have more than one possible completion | |
| # cause the matches to be listed immediately instead of ringing the bell. | |
| set show-all-if-ambiguous on | |
| # Readline performs filename matching and completion in a case-insensitive fashion |
| <?php | |
| namespace Drupal\offering_sync_sendgrid\Plugin\QueueWorker; | |
| use Drupal\Core\Logger\LoggerChannelInterface; | |
| use Drupal\Core\Plugin\ContainerFactoryPluginInterface; | |
| use Drupal\Core\Queue\QueueWorkerBase; | |
| use Drupal\offering_sync_sendgrid\OfferingSyncSendgridService; | |
| use Symfony\Component\DependencyInjection\ContainerInterface; |
| <?php | |
| //src/Plugin/Action/SyncSendgridAddAction.php | |
| namespace Drupal\offering_sync_sendgrid\Plugin\Action; | |
| use Drupal\views_bulk_operations\Action\ViewsBulkOperationsActionBase; | |
| use Drupal\Core\Session\AccountInterface; | |
| use Drupal\Core\StringTranslation\StringTranslationTrait; |
| <?php | |
| // src/OfferingSyncSendgridService.php | |
| namespace Drupal\offering_sync_sendgrid; | |
| use Drupal\Core\Config\ConfigFactoryInterface; | |
| use Drupal\Core\StringTranslation\StringTranslationTrait; | |
| use Psr\Log\LoggerInterface; | |
| use SendGrid\Client; |
| git checkout -b hotfix/revert-pull-request | |
| // Find the MERGE PULL REQUEST on the main timeline and copy the commit identifier | |
| git revert -m 1 HASH_COMMIT_MERGE_PULLREQUEST | |
| git push origin hotfix/revert-pull-request |
| name: drupal-project | |
| recipe: pantheon | |
| config: | |
| framework: drupal8 | |
| site: XXXX | |
| id: XXXX | |
| services: | |
| appserver: | |
| run_as_root: | |
| - chown www-data:www-data /run/host-services/ssh-auth.sock |