Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
87c8af27
Commit
87c8af27
authored
Aug 7, 2017
by
Jess
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2887080
by edwardaa: Fix FieldItemInterface doc's parameter type and return type
parent
50a541b9
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/lib/Drupal/Core/Field/FieldItemInterface.php
+8
-8
8 additions, 8 deletions
core/lib/Drupal/Core/Field/FieldItemInterface.php
with
8 additions
and
8 deletions
core/lib/Drupal/Core/Field/FieldItemInterface.php
+
8
−
8
View file @
87c8af27
...
@@ -114,11 +114,11 @@ public function getFieldDefinition();
...
@@ -114,11 +114,11 @@ public function getFieldDefinition();
/**
/**
* Magic method: Gets a property value.
* Magic method: Gets a property value.
*
*
* @param $property_name
* @param
string
$property_name
* The name of the property to get; e.g., 'title' or 'name'.
* The name of the property to get; e.g., 'title' or 'name'.
*
*
* @return
\Drupal\Core\TypedData\TypedDataInterface
* @return
mixed
* The property
object
.
* The property
value
.
*
*
* @throws \InvalidArgumentException
* @throws \InvalidArgumentException
* If a not existing property is accessed.
* If a not existing property is accessed.
...
@@ -128,9 +128,9 @@ public function __get($property_name);
...
@@ -128,9 +128,9 @@ public function __get($property_name);
/**
/**
* Magic method: Sets a property value.
* Magic method: Sets a property value.
*
*
* @param $property_name
* @param
string
$property_name
* The name of the property to set; e.g., 'title' or 'name'.
* The name of the property to set; e.g., 'title' or 'name'.
* @param $value
* @param
mixed
$value
* The value to set, or NULL to unset the property. Optionally, a typed
* The value to set, or NULL to unset the property. Optionally, a typed
* data object implementing Drupal\Core\TypedData\TypedDataInterface may be
* data object implementing Drupal\Core\TypedData\TypedDataInterface may be
* passed instead of a plain value.
* passed instead of a plain value.
...
@@ -143,7 +143,7 @@ public function __set($property_name, $value);
...
@@ -143,7 +143,7 @@ public function __set($property_name, $value);
/**
/**
* Magic method: Determines whether a property is set.
* Magic method: Determines whether a property is set.
*
*
* @param $property_name
* @param
string
$property_name
* The name of the property to get; e.g., 'title' or 'name'.
* The name of the property to get; e.g., 'title' or 'name'.
*
*
* @return bool
* @return bool
...
@@ -154,7 +154,7 @@ public function __isset($property_name);
...
@@ -154,7 +154,7 @@ public function __isset($property_name);
/**
/**
* Magic method: Unsets a property.
* Magic method: Unsets a property.
*
*
* @param $property_name
* @param
string
$property_name
* The name of the property to get; e.g., 'title' or 'name'.
* The name of the property to get; e.g., 'title' or 'name'.
*/
*/
public
function
__unset
(
$property_name
);
public
function
__unset
(
$property_name
);
...
@@ -364,7 +364,7 @@ public static function fieldSettingsFromConfigData(array $settings);
...
@@ -364,7 +364,7 @@ public static function fieldSettingsFromConfigData(array $settings);
* @param bool $has_data
* @param bool $has_data
* TRUE if the field already has data, FALSE if not.
* TRUE if the field already has data, FALSE if not.
*
*
* @return
* @return
array
* The form definition for the field settings.
* The form definition for the field settings.
*/
*/
public
function
storageSettingsForm
(
array
&
$form
,
FormStateInterface
$form_state
,
$has_data
);
public
function
storageSettingsForm
(
array
&
$form
,
FormStateInterface
$form_state
,
$has_data
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment