Issue #2175785 by yched, InternetDevels: Rename ShortcutPath to ShortcutPathItem.
parent
a59a4688e2
commit
d18bb471c6
|
@ -2,7 +2,7 @@
|
|||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\comment\CommentFieldName.
|
||||
* Contains \Drupal\comment\CommentFieldNameItem.
|
||||
*/
|
||||
|
||||
namespace Drupal\comment;
|
||||
|
@ -13,7 +13,7 @@ use Drupal\Core\TypedData\DataDefinition;
|
|||
/**
|
||||
* The field item for the 'fieldname' field.
|
||||
*/
|
||||
class CommentFieldName extends StringItem {
|
||||
class CommentFieldNameItem extends StringItem {
|
||||
|
||||
/**
|
||||
* Definitions of the contained properties.
|
|
@ -442,7 +442,7 @@ class Comment extends ContentEntityBase implements CommentInterface {
|
|||
->setComputed(TRUE);
|
||||
|
||||
$item_definition = $fields['field_name']->getItemDefinition();
|
||||
$item_definition->setClass('\Drupal\comment\CommentFieldName');
|
||||
$item_definition->setClass('\Drupal\comment\CommentFieldNameItem');
|
||||
$fields['field_name']->setItemDefinition($item_definition);
|
||||
|
||||
return $fields;
|
||||
|
|
|
@ -182,7 +182,7 @@ class Shortcut extends ContentEntityBase implements ShortcutInterface {
|
|||
->setComputed(TRUE);
|
||||
|
||||
$item_definition = $fields['path']->getItemDefinition();
|
||||
$item_definition->setClass('\Drupal\shortcut\ShortcutPath');
|
||||
$item_definition->setClass('\Drupal\shortcut\ShortcutPathItem');
|
||||
$fields['path']->setItemDefinition($item_definition);
|
||||
|
||||
return $fields;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\shortcut\ShortcutPath.
|
||||
* Contains \Drupal\shortcut\ShortcutPathItem.
|
||||
*/
|
||||
|
||||
namespace Drupal\shortcut;
|
||||
|
@ -13,7 +13,7 @@ use Drupal\Core\TypedData\DataDefinition;
|
|||
/**
|
||||
* The field item for the 'path' field.
|
||||
*/
|
||||
class ShortcutPath extends StringItem {
|
||||
class ShortcutPathItem extends StringItem {
|
||||
|
||||
/**
|
||||
* Definitions of the contained properties.
|
Loading…
Reference in New Issue