~/S/a/viamagazine features/VIA25_disable-dev-modules ± drush @aaavia.local cim
Collection Config Operation
search_api.server.acquia_search_api_solr_server create
core.extension update
simple_sitemap.bundle_settings.node.article update
simple_sitemap.bundle_settings.node.blog update
security_review.settings delete
security_review.check.security_review-views_access delete
security_review.check.security_review-upload_extensions delete
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 | |
| /** | |
| * @file | |
| * | |
| * Contains \Drupal\path_rest\Controller\PathRestController. | |
| * | |
| */ | |
| namespace Drupal\path_rest\Controller; |
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
| #!/usr/bin/env bash | |
| echo ">>> Installing Mailhog" | |
| # Download binary from github | |
| wget --quiet -O ~/mailhog https://github.com/mailhog/MailHog/releases/download/v0.2.1/MailHog_linux_amd64 | |
| # Make it executable | |
| chmod +x ~/mailhog |
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
| <template> | |
| <div> | |
| <div class="row actions"> | |
| <div class="col-xs-4 col-xs-offset-8"> | |
| <!-- todo fix the cancel button. --> | |
| <button class="btn-sm btn btn-default btn-sm" v-on:click="cancelAction">Cancel</button> | |
| <button class="btn-sm btn btn-default btn-sm" v-on:click="createAction">Save</button> | |
| </div> | |
| </div> | |
| <i class="fa fa-circle-o-notch fa-spin fa-2x fa-fw" v-if="processing"></i> |
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 week_of_form_alter(&$form, &$form_state, $form_id) { | |
| if($form_id == 'eligible_post_node_form') { | |
| $form['field_week_of']['#access'] = FALSE; | |
| } | |
| } | |
| function week_of_node_presave($node) { | |
| if($node->type == "eligible_post") { |
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 | |
| namespace BetterGistsBundle\DependencyInjection; | |
| use Doctrine\ORM\EntityRepository; | |
| class BPaginator | |
| { | |
| /** | |
| * @var $offset |
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 | |
| // To set up a local environment, make a duplicate of this file and name it | |
| // local-settings.inc in the site directory that contains the settings.php file. | |
| // Ignore sites/*/local-settings.php in the .gitignore file. Change the settings.php | |
| // file to include local-settings.php if the file exists. | |
| // Point database to local service. | |
| $databases['default']['default'] = array( | |
| 'database' => 'local_db_name', |
###Open Sans:
https://github.com/FontFaceKit/open-sans
bower install open-sans-fontface
###Monserrat:
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
| /** | |
| * Implements hook_theme_suggestions_HOOK_alter(). | |
| */ | |
| function ixia_theme_suggestions_eck_entity_alter(array &$suggestions, array $vars, $hook) { | |
| $entity = $vars['entity']['#slice']; | |
| if(in_array('eck_entity__slice__resources_slice', $suggestions)) { | |
| $template_suggestion_array = $entity->field_template_suggestion->getValue(); | |
| $template_lenght = count($template_suggestion_array); | |
| if($template_lenght) { |