You are here

constant SAVED_NEW in Drupal 7

Same name and namespace in other branches
  1. 8 core/includes/common.inc \SAVED_NEW
  2. 4 includes/common.inc \SAVED_NEW
  3. 5 includes/common.inc \SAVED_NEW
  4. 6 includes/common.inc \SAVED_NEW
  5. 9 core/includes/common.inc \SAVED_NEW

Return status for saving which involved creating a new item.

12 uses of SAVED_NEW
DrupalDataApiTest::testDrupalWriteRecord in modules/simpletest/tests/common.test
Test the drupal_write_record() API function.
DrupalWebTestCase::drupalCreateContentType in modules/simpletest/drupal_web_test_case.php
Creates a custom content type based on default settings.
drupal_write_record in includes/common.inc
Saves (inserts or updates) a record to the database based upon the schema.
filter_admin_format_form_submit in modules/filter/filter.admin.inc
Form submission handler for filter_admin_format_form().
filter_format_save in modules/filter/filter.module
Saves a text format object to the database.

... See full list

File

includes/common.inc, line 45
Common functions that many Drupal modules will need to reference.

Code

define('SAVED_NEW', 1);