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
125596ee
Commit
125596ee
authored
Apr 12, 2011
by
Dries
Browse files
- Patch
#1066118
by Barrett: hook_field_widget_form() has punctuation error.
parent
4be05468
Changes
14
Hide whitespace changes
Inline
Side-by-side
includes/bootstrap.inc
View file @
125596ee
...
...
@@ -1419,7 +1419,7 @@ function request_uri() {
* The exception that is going to be logged.
* @param $message
* The message to store in the log. If empty, a text that contains all useful
* information about the passed
in exception is used.
* information about the passed
-
in exception is used.
* @param $variables
* Array of variables to replace in the message on display. Defaults to the
* return value of drupal_decode_exception().
...
...
includes/common.inc
View file @
125596ee
...
...
@@ -1974,7 +1974,7 @@ function _format_date_callback(array $matches = NULL, $new_langcode = NULL) {
/**
* Format a username.
*
* By default, the passed
in object's 'name' property is used if it exists, or
* By default, the passed
-
in object's 'name' property is used if it exists, or
* else, the site-defined value for the 'anonymous' variable. However, a module
* may override this by implementing hook_username_alter(&$name, $account).
*
...
...
@@ -5229,7 +5229,7 @@ function drupal_set_page_content($content = NULL) {
* browsers, '#browsers' can be set to array('IE' => 'gte IE 8').
*
* @return
* The passed
in element with markup for conditional comments potentially
* The passed
-
in element with markup for conditional comments potentially
* added to '#prefix' and '#suffix'.
*/
function
drupal_pre_render_conditional_comments
(
$elements
)
{
...
...
@@ -5291,7 +5291,7 @@ function drupal_pre_render_conditional_comments($elements) {
* - #options: (optional) An array of options to pass to l().
*
* @return
* The passed
in elements containing a rendered link in '#markup'.
* The passed
-
in elements containing a rendered link in '#markup'.
*/
function
drupal_pre_render_link
(
$element
)
{
// By default, link options to pass to l() are normally set in #options.
...
...
@@ -5438,7 +5438,7 @@ function drupal_pre_render_links($element) {
* A structured array using the #markup key.
*
* @return
* The passed
in elements, but #markup appended to #children.
* The passed
-
in elements, but #markup appended to #children.
*/
function
drupal_pre_render_markup
(
$elements
)
{
$elements
[
'#children'
]
=
$elements
[
'#markup'
];
...
...
@@ -5902,7 +5902,7 @@ function drupal_render_collect_attached($elements, $return = FALSE) {
*
* @return
* A renderable array with the following keys and values:
* - #query: The passed
in $query.
* - #query: The passed
-
in $query.
* - #pre_render: $function with a _pre_render suffix.
* - #cache: An associative array prepared for drupal_render_cache_set().
*/
...
...
includes/graph.inc
View file @
125596ee
...
...
@@ -32,7 +32,7 @@
* @endcode
*
* @return
* The passed
in $graph with more secondary keys filled in:
* The passed
-
in $graph with more secondary keys filled in:
* - 'paths': Contains a list of vertices than can be reached on a path from
* this vertex.
* - 'reverse_paths': Contains a list of vertices that has a path from them
...
...
includes/menu.inc
View file @
125596ee
...
...
@@ -2066,7 +2066,7 @@ function menu_local_tasks($level = 0) {
* node or array('system', 'navigation') for a certain block.
*
* @return
* A list of menu router items that are local tasks for the passed
in path.
* A list of menu router items that are local tasks for the passed
-
in path.
*
* @see contextual_links_preprocess()
*/
...
...
includes/module.inc
View file @
125596ee
...
...
@@ -856,7 +856,7 @@ function drupal_required_modules() {
/**
* Hands off alterable variables to type-specific *_alter implementations.
*
* This dispatch function hands off the passed
in variables to type-specific
* This dispatch function hands off the passed
-
in variables to type-specific
* hook_TYPE_alter() implementations in modules. It ensures a consistent
* interface for all altering operations.
*
...
...
includes/theme.inc
View file @
125596ee
...
...
@@ -319,8 +319,8 @@ function drupal_theme_rebuild() {
* The theme registry that will eventually be cached; It is an associative
* array keyed by theme hooks, whose values are associative arrays describing
* the hook:
* - 'type': The passed
in $type.
* - 'theme path': The passed
in $path.
* - 'type': The passed
-
in $type.
* - 'theme path': The passed
-
in $path.
* - 'function': The name of the function generating output for this theme
* hook. Either defined explicitly in hook_theme() or, if neither 'function'
* nor 'template' is defined, then the default theme function name is used.
...
...
misc/tabledrag.js
View file @
125596ee
...
...
@@ -1079,7 +1079,7 @@ Drupal.tableDrag.prototype.row.prototype.indent = function (indentDiff) {
/**
* Find all siblings for a row, either according to its subgroup or indentation.
* Note that the passed
in row is included in the list of siblings.
* Note that the passed
-
in row is included in the list of siblings.
*
* @param settings
* The field settings we're using to identify what constitutes a sibling.
...
...
modules/field/field.api.php
View file @
125596ee
...
...
@@ -757,7 +757,7 @@ function hook_field_widget_info_alter(&$info) {
/**
* Return the form for a single field widget.
*
* Field widget form elements should be based on the passed
in $element, which
* Field widget form elements should be based on the passed
-
in $element, which
* contains the base form element properties derived from the field
* configuration.
*
...
...
modules/field/field.attach.inc
View file @
125596ee
...
...
@@ -877,7 +877,7 @@ function field_attach_presave($entity_type, $entity) {
/**
* Save field data for a new entity.
*
* The passed
in entity must already contain its id and (if applicable)
* The passed
-
in entity must already contain its id and (if applicable)
* revision id attributes.
* Default values (if any) will be saved for fields not present in the
* $entity.
...
...
modules/filter/filter.pages.inc
View file @
125596ee
...
...
@@ -39,7 +39,7 @@ function filter_tips_long() {
* ),
* );
* @endcode
* - long: (optional) Whether the passed
in filter tips contain extended
* - long: (optional) Whether the passed
-
in filter tips contain extended
* explanations, i.e. intended to be output on the path 'filter/tips'
* (TRUE), or are in a short format, i.e. suitable to be displayed below a
* form element. Defaults to FALSE.
...
...
modules/node/node.module
View file @
125596ee
...
...
@@ -364,7 +364,7 @@ function node_mark($nid, $timestamp) {
* Either a string or object, containing the node type information.
*
* @return
* Node type of the passed
in data.
* Node type of the passed
-
in data.
*/
function
_node_extract_type
(
$node
)
{
return
is_object
(
$node
)
?
$node
->
type
:
$node
;
...
...
@@ -1413,7 +1413,7 @@ function node_show($node, $message = FALSE) {
}
/**
* Returns whether the current page is the full page view of the passed
in node.
* Returns whether the current page is the full page view of the passed
-
in node.
*
* @param $node
* A node object.
...
...
modules/simpletest/drupal_web_test_case.php
View file @
125596ee
...
...
@@ -1151,7 +1151,7 @@ protected function checkPermissions(array $permissions, $reset = FALSE) {
* If a user is already logged in, then the current user is logged out before
* logging in the specified user.
*
* Please note that neither the global $user nor the passed
in user object is
* Please note that neither the global $user nor the passed
-
in user object is
* populated with data of the logged in user. If you need full access to the
* user object after logging in, it must be updated manually. If you also need
* access to the plain-text password of the user (set by drupalCreateUser()),
...
...
modules/system/system.api.php
View file @
125596ee
...
...
@@ -873,7 +873,7 @@ function hook_page_build(&$page) {
*
* This hook is invoked by menu_get_item() and allows for run-time alteration of router
* information (page_callback, title, and so on) before it is translated and checked for
* access. The passed
in $router_item is statically cached for the current request, so this
* access. The passed
-
in $router_item is statically cached for the current request, so this
* hook is only invoked once for any router item that is retrieved via menu_get_item().
*
* Usually, modules will only want to inspect the router item and conditionally
...
...
modules/taxonomy/taxonomy.module
View file @
125596ee
...
...
@@ -746,7 +746,7 @@ function template_preprocess_taxonomy_term(&$variables) {
}
/**
* Returns whether the current page is the page of the passed
in term.
* Returns whether the current page is the page of the passed
-
in term.
*
* @param $term
* A term object.
...
...
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