Update to Drupal 8.0.2. For more information, see https://www.drupal.org/drupal-8.0.2-release-notes

This commit is contained in:
Pantheon Automation 2016-01-06 16:31:26 -08:00 committed by Greg Anderson
parent 1a0e9d9fac
commit a6b049dd05
538 changed files with 5247 additions and 1594 deletions

View file

@ -656,6 +656,7 @@ function entity_test_entity_test_access(EntityInterface $entity, $operation, Acc
*/
function entity_test_entity_create_access(AccountInterface $account, $context, $entity_bundle) {
\Drupal::state()->set('entity_test_entity_create_access', TRUE);
\Drupal::state()->set('entity_test_entity_create_access_context', $context);
// No opinion.
return AccessResult::neutral();

View file

@ -17,7 +17,7 @@ use Drupal\Component\Plugin\Derivative\DeriverBase;
class LocalActionTest extends DeriverBase {
/**
* @inheritDoc
* {@inheritdoc}
*/
public function getDerivativeDefinitions($base_plugin_definition) {
$this->derivatives['example'] = $base_plugin_definition + [

View file

@ -17,7 +17,7 @@ use Drupal\Component\Plugin\Derivative\DeriverBase;
class LocalTaskTestWithUnsafeTitle extends DeriverBase {
/**
* @inheritDoc
* {@inheritdoc}
*/
public function getDerivativeDefinitions($base_plugin_definition) {
$this->derivatives['unsafe'] = [

View file

@ -13,7 +13,7 @@ use Symfony\Component\HttpFoundation\Request;
class TestTaskWithUserInput extends LocalTaskDefault {
/**
* @inheritDoc
* {@inheritdoc}
*/
public function getTitle(Request $request = NULL) {
return "<script>alert('Welcome to the jungle!')</script>";

View file

@ -24,7 +24,7 @@ class MockMenuBlock {
/**
* The number of menu levels deep to render.
*
* @var integer
* @var int
*/
protected $depth;

View file

@ -88,14 +88,14 @@ function template_preprocess_theme_test_function_suggestions(&$variables) {
}
/**
* Theme function for testing _theme('theme_test_foo').
* Theme function for hook theme_test_foo.
*/
function theme_theme_test_foo($variables) {
return $variables['foo'];
}
/**
* Theme function for testing _theme('theme_test_function_template_override').
* Theme function for hook theme_test_function_template_override.
*/
function theme_theme_test_function_template_override($variables) {
return 'theme_test_function_template_override test failed.';
@ -140,7 +140,8 @@ function template_preprocess_theme_test_render_element(&$variables) {
*
* Theme hooks defining a 'render element' add an internal '#render_children'
* property. When this property is found, drupal_render() avoids calling
* _theme() on the top-level element to prevent infinite recursion.
* the 'theme.manager' service 'render' method on the top-level element to
* prevent infinite recursion.
*
* @param array $variables
* An associative array containing:

View file

@ -27,7 +27,7 @@ class DbDumpCommandTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
public function setUp() {
protected function setUp() {
parent::setUp();
// Determine what database backend is running, and set the skip flag.