Update to Drupal 8.0.6. For more information, see https://www.drupal.org/drupal-8.0.6-release-notes
This commit is contained in:
parent
4297c64508
commit
b11a755ba8
159 changed files with 2340 additions and 543 deletions
|
@ -13,7 +13,7 @@ use Drupal\Core\Form\FormStateInterface;
|
|||
use Drupal\Core\Language\LanguageManagerInterface;
|
||||
|
||||
/**
|
||||
* Form controller for the profile forms.
|
||||
* Form handler for the profile forms.
|
||||
*/
|
||||
class ProfileForm extends AccountForm {
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ use Drupal\Core\Form\FormStateInterface;
|
|||
use Drupal\Core\Language\LanguageManagerInterface;
|
||||
|
||||
/**
|
||||
* Form controller for the user register forms.
|
||||
* Form handler for the user register forms.
|
||||
*/
|
||||
class RegisterForm extends AccountForm {
|
||||
|
||||
|
|
|
@ -54,6 +54,11 @@ EOT;
|
|||
$this->assertIdentical('Queen', $user->profile_bands[5]->value);
|
||||
$this->assertIdentical('The White Stripes', $user->profile_bands[6]->value);
|
||||
$this->assertIdentical('1974-06-02', $user->profile_birthdate->value);
|
||||
$this->assertIdentical('http://example.com/blog', $user->profile_blog->uri);
|
||||
$this->assertNull($user->profile_blog->title);
|
||||
$this->assertIdentical([], $user->profile_blog->options);
|
||||
$this->assertIdentical('http://example.com/blog', $user->profile_blog->uri);
|
||||
$this->assertNull($user->profile_love_migrations->value);
|
||||
|
||||
$user = User::load(8);
|
||||
$this->assertIdentical('Forward/slash', $user->profile_sold_to->value);
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
* - extra: Additional text to append to the user's name, sanitized.
|
||||
* - link_path: The path or URL of the user's profile page, home page,
|
||||
* or other desired page to link to for more information about the user.
|
||||
* - link_options: Options to pass to the url() function's $options parameter if
|
||||
* linking the user's name to the user's page.
|
||||
* - link_options: Options to set on the \Drupal\Core\Url object if linking the
|
||||
* user's name to the user's page.
|
||||
* - attributes: HTML attributes for the containing element.
|
||||
*
|
||||
* @see template_preprocess_username()
|
||||
|
|
Reference in a new issue