Update to Drupal 8.0.0-rc3. For more information, see https://www.drupal.org/node/2608078
This commit is contained in:
parent
6419a031d7
commit
4afb23bbd3
762 changed files with 20080 additions and 6368 deletions
|
@ -11,7 +11,9 @@ use Drupal\migrate\Entity\MigrationInterface;
|
|||
use Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase;
|
||||
|
||||
/**
|
||||
* @PluginID("taxonomy_term_reference")
|
||||
* @MigrateCckField(
|
||||
* id = "taxonomy_term_reference"
|
||||
* )
|
||||
*/
|
||||
class TaxonomyTermReference extends CckFieldPluginBase {
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ class Tid extends ArgumentDefaultPluginBase implements CacheableDependencyInterf
|
|||
}
|
||||
|
||||
/**
|
||||
* Overrides \Drupal\views\Plugin\views\Plugin\views\PluginBase::init().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
|
||||
parent::init($view, $display, $options);
|
||||
|
@ -95,6 +95,9 @@ class Tid extends ArgumentDefaultPluginBase implements CacheableDependencyInterf
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function defineOptions() {
|
||||
$options = parent::defineOptions();
|
||||
|
||||
|
@ -107,6 +110,9 @@ class Tid extends ArgumentDefaultPluginBase implements CacheableDependencyInterf
|
|||
return $options;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
|
||||
$form['term_page'] = array(
|
||||
'#type' => 'checkbox',
|
||||
|
@ -165,6 +171,9 @@ class Tid extends ArgumentDefaultPluginBase implements CacheableDependencyInterf
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function submitOptionsForm(&$form, FormStateInterface $form_state, &$options = array()) {
|
||||
// Filter unselected items so we don't unnecessarily store giant arrays.
|
||||
$options['vids'] = array_filter($options['vids']);
|
||||
|
|
|
@ -17,7 +17,7 @@ use Drupal\views\Plugin\views\argument_validator\Entity;
|
|||
class Term extends Entity {
|
||||
|
||||
/**
|
||||
* Overrides \Drupal\views\Plugin\views\Plugin\views\PluginBase::init().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
|
||||
parent::init($view, $display, $options);
|
||||
|
|
|
@ -60,7 +60,7 @@ class TaxonomyIndexTid extends PrerenderList {
|
|||
}
|
||||
|
||||
/**
|
||||
* Overrides \Drupal\views\Plugin\views\field\PrerenderList::init().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
|
||||
parent::init($view, $display, $options);
|
||||
|
|
|
@ -77,7 +77,7 @@ class TaxonomyIndexTid extends ManyToOne {
|
|||
}
|
||||
|
||||
/**
|
||||
* Overrides \Drupal\views\Plugin\views\filter\ManyToOne::init().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
|
||||
parent::init($view, $display, $options);
|
||||
|
|
|
@ -60,7 +60,7 @@ class NodeTermData extends RelationshipPluginBase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Overrides \Drupal\views\Plugin\views\relationship\RelationshipPluginBase::init().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
|
||||
parent::init($view, $display, $options);
|
||||
|
|
|
@ -21,7 +21,7 @@ use Drupal\views\Plugin\views\wizard\WizardPluginBase;
|
|||
class TaxonomyTerm extends WizardPluginBase {
|
||||
|
||||
/**
|
||||
* Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayOptions().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function defaultDisplayOptions() {
|
||||
$display_options = parent::defaultDisplayOptions();
|
||||
|
|
|
@ -38,7 +38,7 @@ class TermTranslationUITest extends ContentTranslationUITestBase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::setupBundle().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setupBundle() {
|
||||
parent::setupBundle();
|
||||
|
@ -55,14 +55,14 @@ class TermTranslationUITest extends ContentTranslationUITestBase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getTranslatorPermission().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function getTranslatorPermissions() {
|
||||
return array_merge(parent::getTranslatorPermissions(), array('administer taxonomy'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getNewEntityValues().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function getNewEntityValues($langcode) {
|
||||
return array('name' => $this->randomMachineName()) + parent::getNewEntityValues($langcode);
|
||||
|
@ -88,7 +88,7 @@ class TermTranslationUITest extends ContentTranslationUITestBase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::testTranslationUI().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function testTranslationUI() {
|
||||
parent::testTranslationUI();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\taxonomy\Tests\Views\TaxonomyFieldAllTerms.
|
||||
* Contains \Drupal\taxonomy\Tests\Views\TaxonomyFieldAllTermsTest.
|
||||
*/
|
||||
|
||||
namespace Drupal\taxonomy\Tests\Views;
|
||||
|
|
Reference in a new issue