SAVED_NEW

Same name in other branches
  1. 9 core/includes/common.inc \SAVED_NEW
  2. 8.9.x core/includes/common.inc \SAVED_NEW
  3. 10 core/includes/common.inc \SAVED_NEW
  4. 11.x 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

Code

define('SAVED_NEW', 1);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.