Commit 125596ee authored by Dries's avatar Dries

- Patch #1066118 by Barrett: hook_field_widget_form() has punctuation error.

parent 4be05468
......@@ -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().
......
......@@ -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().
*/
......
......@@ -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
......
......@@ -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()
*/
......
......@@ -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.
*
......
......@@ -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.
......
......@@ -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.
......
......@@ -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.
*
......
......@@ -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.
......
......@@ -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.
......
......@@ -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.
......
......@@ -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()),
......
......@@ -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
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment