summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/node.api.php8
-rw-r--r--modules/node/node.module4
-rw-r--r--modules/node/node.pages.inc2
-rw-r--r--modules/node/node.test4
4 files changed, 9 insertions, 9 deletions
diff --git a/modules/node/node.api.php b/modules/node/node.api.php
index c4b79754c..e2671f097 100644
--- a/modules/node/node.api.php
+++ b/modules/node/node.api.php
@@ -634,12 +634,12 @@ function hook_node_view_alter($build) {
* - "body_label": the label for the body field of this content type. Optional
* (defaults to 'Body').
* - "locked": boolean indicating whether the administrator can change the
- * machine name of this type. FALSE = changable (not locked),
- * TRUE = unchangable (locked). Optional (defaults to TRUE).
+ * machine name of this type. FALSE = changeable (not locked),
+ * TRUE = unchangeable (locked). Optional (defaults to TRUE).
*
* The machine-readable name of a node type should contain only letters,
* numbers, and underscores. Underscores will be converted into hyphens for the
- * purpose of contructing URLs.
+ * purpose of constructing URLs.
*
* All attributes of a node type that are defined through this hook (except for
* 'locked') can be edited by a site administrator. This includes the
@@ -694,7 +694,7 @@ function hook_node_info() {
* not need to take the weighted system into account, as it will be done
* automatically. It does, however, need to calculate a decimal between
* 0 and 1; be careful not to cast the entire score to an integer by
- * inadvertantly introducing a variable argument. Required.
+ * inadvertently introducing a variable argument. Required.
* - "arguments": if any arguments are required for the score, they can be
* specified in an array here.
*/
diff --git a/modules/node/node.module b/modules/node/node.module
index 4736ca18b..3b6e25081 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1287,7 +1287,7 @@ function node_language_negotiation_info() {
* An array of valid language objects.
*
* @return
- * A valid language code on succes, FALSE otherwise.
+ * A valid language code on success, FALSE otherwise.
*/
function node_language_provider($languages) {
require_once DRUPAL_ROOT . '/' . variable_get('path_inc', 'includes/path.inc');
@@ -3047,7 +3047,7 @@ function node_access_write_grants($node, $grants, $realm = NULL, $delete = TRUE)
* This can be used as an alternative to direct node_access_rebuild calls,
* allowing administrators to decide when they want to perform the actual
* (possibly time consuming) rebuild.
- * When unsure the current user is an adminisrator, node_access_rebuild
+ * When unsure the current user is an administrator, node_access_rebuild
* should be used instead.
*
* @param $rebuild
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc
index 77b45f76b..a66352bf2 100644
--- a/modules/node/node.pages.inc
+++ b/modules/node/node.pages.inc
@@ -112,7 +112,7 @@ function node_object_prepare($node) {
*/
function node_form($form, &$form_state, $node) {
global $user;
- // This form has its own multistep persistance.
+ // This form has its own multistep persistence.
if ($form_state['rebuild']) {
$form_state['input'] = array();
}
diff --git a/modules/node/node.test b/modules/node/node.test
index 834a058e5..0d9b7e03b 100644
--- a/modules/node/node.test
+++ b/modules/node/node.test
@@ -565,11 +565,11 @@ class NodeBlockTestCase extends DrupalWebTestCase {
}
function testSearchFormBlock() {
- // Set block title to confirm that the interface is availble.
+ // Set block title to confirm that the interface is available.
$this->drupalPost('admin/structure/block/manage/node/syndicate/configure', array('title' => $this->randomName(8)), t('Save block'));
$this->assertText(t('The block configuration has been saved.'), t('Block configuration set.'));
- // Set the block to a region to confirm block is availble.
+ // Set the block to a region to confirm block is available.
$edit = array();
$edit['node_syndicate[region]'] = 'footer';
$this->drupalPost('admin/structure/block', $edit, t('Save blocks'));