1 drupal.inc node_types_rebuild()

Drupal-compatible wrapper for clearing caches.

Backdrop no longer needs to "rebuild" its node types, which previously were synced between the code and database in Drupal 7. In Backdrop, all node types are always stored in config.

Deprecated

since 1.0.0

Related topics

File

core/includes/drupal.inc, line 2501
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function node_types_rebuild() {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  node_type_cache_reset();
}