Update to Drupal 8.0.5. For more information, see https://www.drupal.org/node/2679347
This commit is contained in:
parent
2a9f1f148d
commit
fd3b12cf27
251 changed files with 5439 additions and 957 deletions
|
@ -13,7 +13,7 @@
|
|||
/**
|
||||
* Define language types.
|
||||
*
|
||||
* @return
|
||||
* @return array
|
||||
* An associative array of language type definitions. The keys are the
|
||||
* identifiers, which are also used as names for global variables representing
|
||||
* the types in the bootstrap phase. The values are associative arrays that
|
||||
|
@ -51,7 +51,7 @@ function hook_language_types_info() {
|
|||
/**
|
||||
* Perform alterations on language types.
|
||||
*
|
||||
* @param $language_types
|
||||
* @param array $language_types
|
||||
* Array of language type definitions.
|
||||
*
|
||||
* @see hook_language_types_info()
|
||||
|
@ -66,7 +66,7 @@ function hook_language_types_info_alter(array &$language_types) {
|
|||
/**
|
||||
* Perform alterations on language negotiation methods.
|
||||
*
|
||||
* @param $negotiation_info
|
||||
* @param array $negotiation_info
|
||||
* Array of language negotiation method definitions.
|
||||
*
|
||||
* @ingroup language_negotiation
|
||||
|
|
|
@ -51,7 +51,7 @@ interface ConfigurableLanguageManagerInterface extends LanguageManagerInterface
|
|||
/**
|
||||
* Stores language types configuration.
|
||||
*
|
||||
* @param array
|
||||
* @param array $config
|
||||
* An indexed array with the following keys_
|
||||
* - configurable: an array of configurable language type names.
|
||||
* - all: an array of all the defined language type names.
|
||||
|
|
|
@ -54,7 +54,7 @@ class LanguageRequestSubscriber implements EventSubscriberInterface {
|
|||
*
|
||||
* @param \Drupal\language\ConfigurableLanguageManagerInterface $language_manager
|
||||
* The language manager service.
|
||||
* @param \Drupal\language\LanguageNegotiatorInterface
|
||||
* @param \Drupal\language\LanguageNegotiatorInterface $negotiator
|
||||
* The language negotiator.
|
||||
* @param \Drupal\Core\StringTranslation\Translator\TranslatorInterface $translation;
|
||||
* The translation service.
|
||||
|
|
|
@ -73,7 +73,7 @@ class PathProcessorLanguage implements InboundPathProcessorInterface, OutboundPa
|
|||
* A config factory object for retrieving configuration settings.
|
||||
* @param \Drupal\language\ConfigurableLanguageManagerInterface $language_manager
|
||||
* The configurable language manager.
|
||||
* @param \Drupal\language\LanguageNegotiatorInterface
|
||||
* @param \Drupal\language\LanguageNegotiatorInterface $negotiator
|
||||
* The language negotiator.
|
||||
* @param \Drupal\Core\Session\AccountInterface $current_user
|
||||
* The current active user.
|
||||
|
|
|
@ -62,7 +62,7 @@ class LanguageListBuilder extends DraggableListBuilder {
|
|||
* The entity type definition.
|
||||
* @param \Drupal\Core\Entity\EntityStorageInterface $storage
|
||||
* The entity storage controller class.
|
||||
* @param \Drupal\Core\Language\LanguageManagerInterface
|
||||
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
|
||||
* The language manager.
|
||||
* @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
|
||||
* The factory for configuration objects.
|
||||
|
|
|
@ -160,7 +160,7 @@ interface LanguageNegotiatorInterface {
|
|||
/**
|
||||
* Returns the ID of the language type's primary language negotiation method.
|
||||
*
|
||||
* @param $type
|
||||
* @param string $type
|
||||
* The language type.
|
||||
*
|
||||
* @return string
|
||||
|
@ -172,9 +172,9 @@ interface LanguageNegotiatorInterface {
|
|||
/**
|
||||
* Checks whether a language negotiation method is enabled for a language type.
|
||||
*
|
||||
* @param $method_id
|
||||
* @param string $method_id
|
||||
* The language negotiation method ID.
|
||||
* @param $type
|
||||
* @param string $type
|
||||
* (optional) The language type. If none is passed, all the configurable
|
||||
* language types will be inspected.
|
||||
*
|
||||
|
|
|
@ -100,9 +100,9 @@ class EntityDefaultLanguageTest extends KernelTestBase {
|
|||
/**
|
||||
* Creates a new node content type.
|
||||
*
|
||||
* @param name
|
||||
* @param string $name
|
||||
* The content type name.
|
||||
* @param $langcode
|
||||
* @param string $langcode
|
||||
* Default language code of the nodes of this type.
|
||||
*/
|
||||
protected function createContentType($name, $langcode) {
|
||||
|
@ -123,9 +123,9 @@ class EntityDefaultLanguageTest extends KernelTestBase {
|
|||
/**
|
||||
* Creates a new node of given type and language using Entity API.
|
||||
*
|
||||
* @param $type
|
||||
* @param string $type
|
||||
* The node content type.
|
||||
* @param $langcode
|
||||
* @param string $langcode
|
||||
* (optional) Language code to pass to entity create.
|
||||
*
|
||||
* @return \Drupal\node\NodeInterface
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\language\Tests\LanguageNegotiationLanguageContentEntityTest.
|
||||
* Contains \Drupal\language\Tests\LanguageNegotiationContentEntityTest.
|
||||
*/
|
||||
|
||||
namespace Drupal\language\Tests;
|
||||
|
|
Reference in a new issue