Update to Drupal 8.1.0. For more information, see https://www.drupal.org/drupal-8.1.0-release-notes
This commit is contained in:
parent
b11a755ba8
commit
c0a0d5a94c
6920 changed files with 64395 additions and 57312 deletions
0
core/lib/Drupal/Component/Transliteration/LICENSE.txt
Normal file
0
core/lib/Drupal/Component/Transliteration/LICENSE.txt
Normal file
|
@ -1,14 +1,5 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\Component\Transliteration\PhpTransliteration.
|
||||
*
|
||||
* Some parts of this code were derived from the MediaWiki project's UtfNormal
|
||||
* class, Copyright © 2004 Brion Vibber <brion@pobox.com>,
|
||||
* http://www.mediawiki.org/
|
||||
*/
|
||||
|
||||
namespace Drupal\Component\Transliteration;
|
||||
|
||||
/**
|
||||
|
@ -25,6 +16,10 @@ namespace Drupal\Component\Transliteration;
|
|||
* PhpTransliteration::readGenericData()). If looking up the character in the
|
||||
* generic table results in a NULL value, or an illegal character is
|
||||
* encountered, then a substitute character is returned.
|
||||
*
|
||||
* Some parts of this code were derived from the MediaWiki project's UtfNormal
|
||||
* class, Copyright © 2004 Brion Vibber <brion@pobox.com>,
|
||||
* http://www.mediawiki.org/
|
||||
*/
|
||||
class PhpTransliteration implements TransliterationInterface {
|
||||
|
||||
|
|
12
core/lib/Drupal/Component/Transliteration/README.txt
Normal file
12
core/lib/Drupal/Component/Transliteration/README.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
The Drupal Transliteration Component
|
||||
|
||||
Thanks for using this Drupal component.
|
||||
|
||||
You can participate in its development on Drupal.org, through our issue system:
|
||||
https://www.drupal.org/project/issues/drupal
|
||||
|
||||
You can get the full Drupal repo here:
|
||||
https://www.drupal.org/project/drupal/git-instructions
|
||||
|
||||
You can browse the full Drupal repo here:
|
||||
http://cgit.drupalcode.org/drupal
|
18
core/lib/Drupal/Component/Transliteration/TESTING.txt
Normal file
18
core/lib/Drupal/Component/Transliteration/TESTING.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
HOW-TO: Test this Drupal component
|
||||
|
||||
In order to test this component, you'll need to get the entire Drupal repo and
|
||||
run the tests there.
|
||||
|
||||
You'll find the tests under core/tests/Drupal/Tests/Component.
|
||||
|
||||
You can get the full Drupal repo here:
|
||||
https://www.drupal.org/project/drupal/git-instructions
|
||||
|
||||
You can find more information about running PHPUnit tests with Drupal here:
|
||||
https://www.drupal.org/node/2116263
|
||||
|
||||
Each component in the Drupal\Component namespace has its own annotated test
|
||||
group. You can use this group to run only the tests for this component. Like
|
||||
this:
|
||||
|
||||
$ ./vendor/bin/phpunit --group Transliteration
|
|
@ -1,10 +1,5 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\Component\Transliteration\TransliterationInterface.
|
||||
*/
|
||||
|
||||
namespace Drupal\Component\Transliteration;
|
||||
|
||||
/**
|
||||
|
|
16
core/lib/Drupal/Component/Transliteration/composer.json
Normal file
16
core/lib/Drupal/Component/Transliteration/composer.json
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"name": "drupal/core-transliteration",
|
||||
"description": "Transliteration.",
|
||||
"type": "library",
|
||||
"license": "GPL-2.0+",
|
||||
"support": {
|
||||
"issues": "https://www.drupal.org/project/issues/drupal",
|
||||
"irc": "irc://irc.freenode.net/drupal-contribute",
|
||||
"source": "https://www.drupal.org/project/drupal/git-instructions"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Drupal\\Component\\Transliteration\\": ""
|
||||
}
|
||||
}
|
||||
}
|
Reference in a new issue