Issue #2175785 by yched, InternetDevels: Rename ShortcutPath to ShortcutPathItem.

8.0.x
Alex Pott 2014-02-02 15:00:57 +00:00
parent a59a4688e2
commit d18bb471c6
4 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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;

View File

@ -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;

View File

@ -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.