Update to Drupal 8.1.2. For more information, see https://www.drupal.org/project/drupal/releases/8.1.2

This commit is contained in:
Pantheon Automation 2016-06-02 15:56:09 -07:00 committed by Greg Anderson
parent 9eae24d844
commit 28556d630e
1322 changed files with 6699 additions and 2064 deletions

View file

@ -17,7 +17,7 @@ use Drupal\forum\ForumManagerInterface;
* This just holds the dependency-injected config, entity manager, and forum
* manager objects.
*/
abstract class ForumBreadcrumbBuilderBase implements BreadcrumbBuilderInterface {
abstract class ForumBreadcrumbBuilderBase implements BreadcrumbBuilderInterface {
use StringTranslationTrait;
/**

View file

@ -10,7 +10,7 @@ use Drupal\taxonomy\Form\OverviewTerms;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
/*
/**
* Provides forum overview form for the forum vocabulary.
*/
class Overview extends OverviewTerms {

View file

@ -24,4 +24,5 @@ class NewTopicsBlock extends ForumBlockBase {
->orderBy('f.created', 'DESC')
->range(0, $this->configuration['block_count']);
}
}

View file

@ -16,4 +16,5 @@ class ForumLeafConstraint extends Constraint {
public $selectForum = 'Select a forum.';
public $noLeafMessage = 'The item %forum is a forum container, not a forum. Select one of the forums below instead.';
}

View file

@ -176,4 +176,5 @@ class ForumBlockTest extends WebTestBase {
return $topics;
}
}

View file

@ -79,4 +79,5 @@ class ForumIndexTest extends WebTestBase {
$this->drupalGet('forum/' . $tid);
$this->assertNoText($title, 'Unpublished forum topic no longer appears on index.');
}
}

View file

@ -678,4 +678,5 @@ class ForumTest extends WebTestBase {
$this->nids[] = $node->id();
}
}
}

View file

@ -138,7 +138,7 @@ class ForumUninstallTest extends WebTestBase {
// Delete all terms in the Forums vocabulary. Uninstalling the forum module
// will fail unless this is done.
$terms = entity_load_multiple_by_properties('taxonomy_term', array('vid' => 'forums'));
foreach($terms as $term) {
foreach ($terms as $term) {
$term->delete();
}