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 | |
$application['kernel'] = $application->share( | |
$application->extend('kernel', function ($kernel, $app) { | |
return new YourNewHttpKernelInterfaceObject($kernel); | |
}) | |
); |
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 ContentEntityFormController extends EntityFormController { | |
public function getFormLangcode(array &$form_state) { | |
if (empty($form_state['langcode'])) { | |
$form_state['langcode'] = $this->entityManager()->getTranslationFromContext($this->entity)->language()->id; | |
} | |
return $form_state['langcode']; |
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 | |
* Provide Drush integration for release building and dependency building. | |
*/ | |
/** | |
* Implements hook_drush_command(). | |
*/ | |
function registry_rebuild_drush_command() { |