Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
d18bb471
Commit
d18bb471
authored
Feb 02, 2014
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2175785
by yched, InternetDevels: Rename ShortcutPath to ShortcutPathItem.
parent
a59a4688
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
core/modules/comment/lib/Drupal/comment/CommentFieldNameItem.php
...dules/comment/lib/Drupal/comment/CommentFieldNameItem.php
+2
-2
core/modules/comment/lib/Drupal/comment/Entity/Comment.php
core/modules/comment/lib/Drupal/comment/Entity/Comment.php
+1
-1
core/modules/shortcut/lib/Drupal/shortcut/Entity/Shortcut.php
.../modules/shortcut/lib/Drupal/shortcut/Entity/Shortcut.php
+1
-1
core/modules/shortcut/lib/Drupal/shortcut/ShortcutPathItem.php
...modules/shortcut/lib/Drupal/shortcut/ShortcutPathItem.php
+2
-2
No files found.
core/modules/comment/lib/Drupal/comment/CommentFieldName.php
→
core/modules/comment/lib/Drupal/comment/CommentFieldName
Item
.php
View file @
d18bb471
...
...
@@ -2,7 +2,7 @@
/**
* @file
* Contains \Drupal\comment\CommentFieldName.
* Contains \Drupal\comment\CommentFieldName
Item
.
*/
namespace
Drupal\comment
;
...
...
@@ -13,7 +13,7 @@
/**
* The field item for the 'fieldname' field.
*/
class
CommentFieldName
extends
StringItem
{
class
CommentFieldName
Item
extends
StringItem
{
/**
* Definitions of the contained properties.
...
...
core/modules/comment/lib/Drupal/comment/Entity/Comment.php
View file @
d18bb471
...
...
@@ -442,7 +442,7 @@ public static function baseFieldDefinitions($entity_type) {
->
setComputed
(
TRUE
);
$item_definition
=
$fields
[
'field_name'
]
->
getItemDefinition
();
$item_definition
->
setClass
(
'\Drupal\comment\CommentFieldName'
);
$item_definition
->
setClass
(
'\Drupal\comment\CommentFieldName
Item
'
);
$fields
[
'field_name'
]
->
setItemDefinition
(
$item_definition
);
return
$fields
;
...
...
core/modules/shortcut/lib/Drupal/shortcut/Entity/Shortcut.php
View file @
d18bb471
...
...
@@ -182,7 +182,7 @@ public static function baseFieldDefinitions($entity_type) {
->
setComputed
(
TRUE
);
$item_definition
=
$fields
[
'path'
]
->
getItemDefinition
();
$item_definition
->
setClass
(
'\Drupal\shortcut\ShortcutPath'
);
$item_definition
->
setClass
(
'\Drupal\shortcut\ShortcutPath
Item
'
);
$fields
[
'path'
]
->
setItemDefinition
(
$item_definition
);
return
$fields
;
...
...
core/modules/shortcut/lib/Drupal/shortcut/ShortcutPath.php
→
core/modules/shortcut/lib/Drupal/shortcut/ShortcutPath
Item
.php
View file @
d18bb471
...
...
@@ -2,7 +2,7 @@
/**
* @file
* Contains \Drupal\shortcut\ShortcutPath.
* Contains \Drupal\shortcut\ShortcutPath
Item
.
*/
namespace
Drupal\shortcut
;
...
...
@@ -13,7 +13,7 @@
/**
* The field item for the 'path' field.
*/
class
ShortcutPath
extends
StringItem
{
class
ShortcutPath
Item
extends
StringItem
{
/**
* Definitions of the contained properties.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment