Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
f4c5be06
Commit
f4c5be06
authored
Oct 04, 2013
by
Jennifer Hodgdon
Browse files
Issue
#1969256
by zhuber, ronan.orb: Replace stdClass with object in param docs, as per standards
parent
8b3e463b
Changes
7
Hide whitespace changes
Inline
Side-by-side
core/includes/install.inc
View file @
f4c5be06
...
...
@@ -415,7 +415,7 @@ function _drupal_rewrite_settings_dump($variable, $variable_name) {
*
* Dump the value of a value property and adds the comment if it exists.
*
* @param
stdClass
$variable
* @param
object
$variable
* A stdClass object with at least a value property.
* @param string $prefix
* A string to prepend to the variable's value.
...
...
core/lib/Drupal/Core/Cache/DatabaseBackend.php
View file @
f4c5be06
...
...
@@ -94,7 +94,7 @@ public function getMultiple(&$cids, $allow_invalid = FALSE) {
* Checks that items are either permanent or did not expire, and unserializes
* data as appropriate.
*
* @param
stdClass
$cache
* @param
object
$cache
* An item loaded from cache_get() or cache_get_multiple().
* @param bool $allow_invalid
* If FALSE, the method returns FALSE if the cache item is not valid.
...
...
core/lib/Drupal/Core/Cache/MemoryBackend.php
View file @
f4c5be06
...
...
@@ -70,7 +70,7 @@ public function getMultiple(&$cids, $allow_invalid = FALSE) {
* Checks that items are either permanent or did not expire, and returns data
* as appropriate.
*
* @param
stdClass
$cache
* @param
object
$cache
* An item loaded from cache_get() or cache_get_multiple().
*
* @return mixed
...
...
core/modules/field/field.module
View file @
f4c5be06
...
...
@@ -815,7 +815,7 @@ function theme_field($variables) {
/**
* Assembles a partial entity structure with initial IDs.
*
* @param
stdClass
$ids
* @param
object
$ids
* An object with the properties entity_type (required), entity_id (required),
* revision_id (optional) and bundle (optional).
*
...
...
core/modules/locale/lib/Drupal/locale/Gettext.php
View file @
f4c5be06
...
...
@@ -24,7 +24,7 @@ class Gettext {
/**
* Reads the given PO files into the database.
*
* @param
stdClass
$file
* @param
object
$file
* File object with an URI property pointing at the file's path.
* - "langcode": The language the strings will be added to.
* - "uri": File URI.
...
...
core/modules/locale/locale.translation.inc
View file @
f4c5be06
...
...
@@ -295,7 +295,7 @@ function locale_translation_source_build($project, $langcode, $filename = NULL)
/**
* Build path to translation source, out of a server path replacement pattern.
*
* @param
stdClass
$project
* @param
object
$project
* Project object containing data to be inserted in the template.
* @param string $template
* String containing placeholders. Available placeholders:
...
...
core/modules/views/lib/Drupal/views/Plugin/views/row/RowPluginBase.php
View file @
f4c5be06
...
...
@@ -141,7 +141,7 @@ public function preRender($result) { }
* Render a row object. This usually passes through to a theme template
* of some form, but not always.
*
* @param
stdClass
$row
* @param
object
$row
* A single row of the query result, so an element of $view->result.
*
* @return string
...
...
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