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
{ | |
"require": { | |
"symfony/class-loader": "2.3.*", | |
"symfony/http-foundation": "2.3.*", | |
"symfony/http-kernel": "2.3.*", | |
"symfony/event-dispatcher": "~2.3", | |
"symfony/dependency-injection": "~2.3", | |
"symfony/routing": "2.3.*", | |
"symfony/config": "2.3.*", | |
"symfony/validator": "2.3.*", |
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 | |
// Connections | |
$connection = array( | |
'database' => 'sframework', | |
'username' => 'root', | |
'password' => 'root', | |
'host' => 'localhost', | |
'port' => '', | |
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql', |
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(); | |
$request->attributes->add($container->get('plugin.manager.routes')->matchRoute($request)); | |
$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 | |
/** | |
* @file | |
* Contains SiteManager\Core\Context\Site. | |
*/ | |
namespace SiteManager\Core\Context; | |
use Drupal\Core\Database\Database; | |
use SiteManager\Core\Annotation\Context; |
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 | |
class myManager { | |
$definitions = array(); | |
public function getDefinition($plugin_id) { | |
if (!$this->definitions) { | |
$this->getDefinitions(); | |
} |
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\Context\Route. | |
*/ | |
namespace SiteManager\Core\Context; | |
use Drupal\Core\Database\Database; | |
use SiteManager\Core\Annotation\Context; |
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 | |
// Something somewhere does basically this: you'll have to look through the bot code to find the exact events. | |
Drupal::service('event_dispatcher')->dispatch(BlockPluginEvents::PERMANENTLY_UNAVAILABLE, $event); |
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": "drupal/drupal", | |
"description": "Drupal is an open source content management platform powering millions of websites and applications.", | |
"type": "drupal-core", | |
"license": "GPL-2.0+", | |
"require": { | |
"symfony/class-loader": "2.3.*", | |
"symfony/dependency-injection": "2.3.*", | |
"symfony/event-dispatcher": "2.3.*", | |
"symfony/http-foundation": "2.3.*", |
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
{ | |
"require": { | |
"symfony/class-loader": "2.3.*", | |
"symfony/http-foundation": "2.3.*", | |
"symfony/http-kernel": "2.3.*", | |
"symfony/event-dispatcher": "~2.3", | |
"symfony/dependency-injection": "~2.3", | |
"symfony/routing": "2.3.*", | |
"symfony/config": "2.3.*", | |
"symfony/validator": "2.3.*", |
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
Problem 1 | |
- Installation request for symfony/icu 1.2.x-dev -> satisfiable by symfony/icu[1.2.x-dev]. | |
- symfony/icu 1.2.x-dev requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it. | |
Problem 2 | |
- symfony/icu 1.2.x-dev requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it. | |
- symfony/symfony 2.3.x-dev requires symfony/icu ~1.0 -> satisfiable by symfony/icu[1.2.x-dev]. | |
- Installation request for symfony/symfony 2.3.x-dev -> satisfiable by symfony/symfony[2.3.x-dev]. |