Skip to main content
backdrop Documentation
Documentation and API source code for Backdrop CMS.
  • Welcome!
    • Login

Search for exists

  1. Home »
  2. API reference »
  3. 1.x
Name Type Location Description
module_exists function core/includes/module.inc Determines whether a given module exists.
db_index_exists function core/includes/database/database.inc Checks if an index exists in the given table.
db_table_exists function core/includes/database/database.inc Checks if a table exists.
db_field_exists function core/includes/database/database.inc Checks if a column exists in the given table.
FILE_EXISTS_ERROR constant core/includes/file.inc Flag for dealing with existing files: Do nothing and return FALSE.
MergeQuery::exists function core/includes/database/query.inc Implements QueryConditionInterface::exists().
FILE_EXISTS_RENAME constant core/includes/file.inc Flag for dealing with existing files: Appends number until name is unique.
UpdateQuery::exists function core/includes/database/query.inc Implements QueryConditionInterface::exists().
SelectQuery::exists function core/includes/database/select.inc Implements QueryConditionInterface::exists().
FILE_EXISTS_REPLACE constant core/includes/file.inc Flag for dealing with existing files: Replace the existing file.
DeleteQuery::exists function core/includes/database/query.inc Implements QueryConditionInterface::exists().
filter_format_exists function core/modules/filter/filter.module Determines if a text format exists.
MergeQuery::notExists function core/includes/database/query.inc Implements QueryConditionInterface::notExists().
UpdateQuery::notExists function core/includes/database/query.inc Implements QueryConditionInterface::notExists().
SelectQuery::notExists function core/includes/database/select.inc Implements QueryConditionInterface::notExists().
DeleteQuery::notExists function core/includes/database/query.inc Implements QueryConditionInterface::notExists().
entity_view_mode_exists function core/modules/entity/entity.module Helper function: checks if the display mode exists.
ConfigFileStorage::exists function core/includes/config.inc Returns whether a configuration object exists.
DatabaseCondition::exists function core/includes/database/query.inc Implements QueryConditionInterface::exists().
SelectQuery::havingExists function core/includes/database/select.inc Implements QueryExtendableInterface::havingExists().
_image_source_image_exists function core/modules/image/image.module Checks whether the provided source image exists.
menu_edit_menu_name_exists function core/modules/menu/menu.admin.inc Returns whether a menu name already exists.
ThemeRegistry::offsetExists function core/includes/theme.inc
_field_ui_field_name_exists function core/modules/field_ui/field_ui.admin.inc Render API callback: Checks if a field machine name is taken.
SelectQueryExtender::exists function core/includes/database/select.inc Sets a condition that the specified subquery returns values.
DatabaseSchema::tableExists function core/includes/database/schema.inc Check if a table exists.
DatabaseSchema::fieldExists function core/includes/database/schema.inc Check if a column exists in the given table.
DatabaseSchema::indexExists function core/includes/database/schema.inc Checks if an index exists in the given table.
DatabaseCondition::notExists function core/includes/database/query.inc Implements QueryConditionInterface::notExists().
SelectQuery::havingNotExists function core/includes/database/select.inc Implements QueryExtendableInterface::havingNotExists().
ConfigStorageInterface::exists function core/includes/config.inc Returns whether a configuration object exists.
drupal_array_nested_key_exists function core/includes/drupal.inc Determines whether a nested array contains the requested keys.
SelectQueryExtender::notExists function core/includes/database/select.inc Sets a condition that the specified subquery returns no values.
CacheTestCase::checkCacheExists function core/modules/simpletest/tests/cache.test Check whether or not a cache entry exists.
_layout_menu_router_path_exists function core/modules/layout/layout.admin.inc Helper function to determine whether a layout path is an existing menu router path.
QueryConditionInterface::exists function core/includes/database/query.inc Sets a condition that the specified subquery returns values.
CacheTestCase::assertCacheExists function core/modules/simpletest/tests/cache.test Assert or a cache entry exists.
backdrop_array_nested_key_exists function core/includes/common.inc Determines whether a nested array contains the requested keys.
CommentHelperCase::commentExists function core/modules/comment/tests/comment.test Checks current page for specified comment.
BackdropCacheArray::offsetExists function core/includes/bootstrap.inc
FileTestHelper::assertFileExists function core/modules/file/tests/file.test Asserts that a file exists physically on disk.
DatabaseSchema_mysql::indexExists function core/includes/database/mysql/schema.inc Checks if an index exists in the given table.
DatabaseSchema_mysql::tableExists function core/includes/database/mysql/schema.inc Check if a table exists.
DatabaseSchema_mysql::fieldExists function core/includes/database/mysql/schema.inc Check if a column exists in the given table.
QueryConditionInterface::notExists function core/includes/database/query.inc Sets a condition that the specified subquery returns no values.
FileTestHelper::assertFileNotExists function core/modules/file/tests/file.test Asserts that a file does not exist on disk.
DatabaseSchemaObjectExistsException class core/includes/database/schema.inc Exception thrown if an object being created already exists.
file_example_file_check_exists_submit function modules/examples/file_example/file_example.module Submit handler to check existence of a file.
FileTestHelper::assertFileEntryExists function core/modules/file/tests/file.test Asserts that a file exists in the database.
FileTestHelper::assertFileEntryNotExists function core/modules/file/tests/file.test Asserts that a file does not exist in the database.

Pages

  • 1
  • 2
  • next ›
  • last »
  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
    • Contributed modules
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
  • Contributors guide
    • Contribute to Backdrop core
      • How to use the core issue queue
      • Adding labels to issues
      • Adding milestones to issues
    • Contribute Backdrop add-ons
    • Become a maintainer
    • Adopt a project
    • Contribute to documentation
  • API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Form API reference
  • Appendix/reference
    • Change records
    • Glossary
    • Coding & documentation standards
    • Contrib permissions policy

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS
  • backdropcms.org
  • forum.backdropcms.org
  • events.backdropcms.org