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
|
@ -41,7 +41,7 @@ interface LinkItemInterface extends FieldItemInterface {
|
|||
* Gets the URL object.
|
||||
*
|
||||
* @return \Drupal\Core\Url
|
||||
* Returns an Url object.
|
||||
* Returns a Url object.
|
||||
*/
|
||||
public function getUrl();
|
||||
|
||||
|
|
|
@ -240,7 +240,7 @@ class LinkFormatter extends FormatterBase implements ContainerFactoryPluginInter
|
|||
* The link field item being rendered.
|
||||
*
|
||||
* @return \Drupal\Core\Url
|
||||
* An Url object.
|
||||
* A Url object.
|
||||
*/
|
||||
protected function buildUrl(LinkItemInterface $item) {
|
||||
$url = $item->getUrl() ?: Url::fromRoute('<none>');
|
||||
|
|
Reference in a new issue