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\routing_hijack\EventListener\RouterListener. | |
*/ | |
namespace Drupal\routing_hijack\EventListener; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
use Symfony\Component\HttpKernel\KernelEvents; |
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 | |
$container = require_once __DIR__ . '/../src/container.php'; | |
use Symfony\Component\HttpFoundation\Request; | |
$request = Request::createFromGlobals(); | |
$response = $container->get('kernel.cache')->handle($request)->send(); | |
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 Some\Namespace\EventListener; | |
use Some\Namespace\MyPluginBase; | |
use Some\Namespace\Event\MyPluginTypeInjectionEvent; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
use Symfony\Component\DependencyInjection\ContainerBuilder; | |
class MyPluginListener implements EventSubscriberInterface { |
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 SiteManager\Core\PluginRouterListener. | |
*/ | |
namespace SiteManager\Core; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
use Symfony\Component\HttpKernel\Controller\ControllerResolverInterface; |
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
{ "rules_commerce_order_message_order_notification" : { | |
"LABEL" : "Commerce order message: order notification e-mail", | |
"PLUGIN" : "reaction rule", | |
"WEIGHT" : "3", | |
"REQUIRES" : [ "rules", "message_notify", "commerce_checkout" ], | |
"ON" : [ "commerce_checkout_complete" ], | |
"DO" : [ | |
{ "entity_create" : { | |
"USING" : { | |
"type" : "message", |
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
{ | |
"name" : "commerce_order_order_confirmation", | |
"description" : "Commerce Order: order confirmation", | |
"argument_keys" : [], | |
"argument" : [], | |
"category" : "message_type", | |
"data" : { "purge" : { "override" : 0, "enabled" : 0, "quota" : "", "days" : "" } }, | |
"language" : "", | |
"arguments" : null, | |
"message_text" : { "und" : [ |
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
diff --git a/css/rocketship.main.css b/css/rocketship.main.css | |
new file mode 100644 | |
index 0000000..fff986f | |
--- /dev/null | |
+++ b/css/rocketship.main.css | |
@@ -0,0 +1,12 @@ | |
+.node-rocketship-issue .field-type-taxonomy-term-reference { | |
+ display: inline-block; | |
+ margin: 0; | |
+} |
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
diff --git a/rocketbooster.pages_default.inc b/rocketbooster.pages_default.inc | |
index 7d03d83..80c4c3b 100644 | |
--- a/rocketbooster.pages_default.inc | |
+++ b/rocketbooster.pages_default.inc | |
@@ -10,395 +10,415 @@ | |
*/ | |
function rocketbooster_default_page_manager_pages() { | |
$pages = array(); | |
- $master_term = variable_get('rocketship_master_tag', 'D8MI'); | |
- $term_array = taxonomy_get_term_by_name($master_term, 'rocketship_issue_tags'); |
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 | |
$container->setDefinition('namespaces', new Definition()) | |
->setSynthetic(TRUE); | |
$container->set('namespaces', $loader->getPrefixes()); |
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 SiteManager\Core\Route\CreateSite. | |
*/ | |
namespace SiteManager\Core\Route; | |
use Drupal\Core\Database\Database; | |
use SiteManager\Core\Annotation\Route; |