Search for name

Classes

NameLocationDescription
BootstrapGetFilenameTestCasemodules/simpletest/tests/bootstrap.testTest drupal_get_filename()'s availability.
DatabaseTransactionNameNonUniqueExceptionincludes/database/database.incException thrown when a savepoint or transaction name occurs twice.
DrupalGetRdfNamespacesTestCasemodules/simpletest/tests/common.testTests for RDF namespaces XML serialization.
FileNameMungingTestmodules/simpletest/tests/file.testTests for file_munge_filename() and file_unmunge_filename().
PollVoteCheckHostnamemodules/poll/poll.test
RdfGetRdfNamespacesTestCasemodules/rdf/rdf.testTests for RDF namespaces declaration with hook_rdf_namespaces().

Constants

NameLocationDescription
CKEDITOR_FORCE_SIMPLE_TOOLBAR_NAME./ckeditor.moduleThe name of the simplified toolbar that should be forced. Make sure that this toolbar is defined in ckeditor.config.js or fckconfig.js.
FILE_EXISTS_RENAMEincludes/file.incFlag for dealing with existing files: Appends number until name is unique.
IMAGE_GALLERY_SORT_FILENAMEcontrib/image_gallery/image_gallery.module
L10N_UPDATE_DEFAULT_FILENAME./l10n_update.inc
MEDIA_YOUTUBE_NAMESPACEincludes/media_youtube.variables.incThis is the variable namespace, automatically prepended to module variables.
MENU_MAX_MENU_NAME_LENGTH_UImodules/menu/menu.moduleMaximum length of menu name as entered by the user. Database length is 32 and we add a menu- prefix.
PRINT_PDF_FILENAME_DEFAULTprint_pdf/print_pdf.module
SHORTCUT_DEFAULT_SET_NAMEmodules/shortcut/shortcut.moduleThe name of the default shortcut set.
USERNAME_MAX_LENGTHmodules/user/user.moduleMaximum length of username text field.

Files

NameLocationDescription
page_site_name.incplugins/content_types/page/page_site_name.incPlugin to handle the 'page_site_name' content type which allows the site_name of the site to be embedded into a panel.
privatemsg_realname.moduleprivatemsg_realname/privatemsg_realname.module
user_name.incplugins/arguments/user_name.incPlugin to provide an argument handler for a username

Functions & methods

NameLocationDescription
advanced_help_get_module_name./advanced_help.moduleSmall helper function to get a module's proper name.
advanced_help_get_topic_filename./advanced_help.moduleLoad and render a help topic.
Archive_Tar::_maliciousFilenamemodules/system/system.tar.incDetect and report a malicious file name
book_menu_namemodules/book/book.moduleGenerate the corresponding menu name from a book ID.
BootstrapGetFilenameTestCase::getInfomodules/simpletest/tests/bootstrap.test
BootstrapGetFilenameTestCase::testDrupalGetFilenamemodules/simpletest/tests/bootstrap.testTest that drupal_get_filename() works correctly when the file is not found in the database.
ctools_argument_user_name_contextplugins/arguments/user_name.incDiscover if this argument gives us the user we crave.
ctools_export_ui_edit_name_existsplugins/export_ui/ctools_export_ui.class.phpTest for #machine_name type to see if an export exists.
ctools_export_ui_edit_name_validateplugins/export_ui/ctools_export_ui.class.phpValidate that an export item name is acceptable and unique during add.
ctools_page_site_name_content_type_renderplugins/content_types/page/page_site_name.incOutput function for the 'page_site_name' content type.
ctools_stylizer_get_settings_nameincludes/stylizer.incGet a safe name for the settings.
Database::renameConnectionincludes/database/database.incRename a connection and its corresponding connection information.
DatabaseConnection::generateTemporaryTableNameincludes/database/database.incGenerates a temporary table name.
DatabaseConnection::makeSequenceNameincludes/database/database.incCreates the appropriate sequence name for a given table and serial field.
DatabaseSchema::buildTableNameConditionincludes/database/schema.incBuild a condition to match a table name against a standard information_schema.
DatabaseSchema::fieldNamesincludes/database/schema.incReturn an array of field names from an array of key/index column specifiers.
DatabaseSchema::renameTableincludes/database/schema.incRename a table.
DatabaseTasks::nameincludes/install.incReturn the human-readable name of the driver.
DatabaseTransaction::nameincludes/database/database.incRetrieves the name of the transaction or savepoint.
db_field_namesincludes/database/database.incReturns an array of field names from an array of key/index column specifiers.
db_rename_tableincludes/database/database.incRenames a table.
DevelMailLog::getFileName./devel.mail.inc
DrupalGetRdfNamespacesTestCase::getInfomodules/simpletest/tests/common.test
DrupalGetRdfNamespacesTestCase::testGetRdfNamespacesmodules/simpletest/tests/common.testTest RDF namespaces.
DrupalLocalStreamWrapper::renameincludes/stream_wrappers.incSupport for rename().
DrupalStreamWrapperInterface::dirnameincludes/stream_wrappers.incGets the name of the directory from a given path.
DrupalTestCase::randomNamemodules/simpletest/drupal_web_test_case.phpGenerates a random string containing letters and numbers.
DrupalUpdaterInterface::getProjectNameincludes/updater.incReturns the system name of the project.
DrupalWebTestCase::assertFieldByNamemodules/simpletest/drupal_web_test_case.phpAsserts that a field exists in the current page with the given name and value.
DrupalWebTestCase::assertNoFieldByNamemodules/simpletest/drupal_web_test_case.phpAsserts that a field does not exist with the given name and value.
drupal_dirnameincludes/file.incGets the name of the directory from a given path.
drupal_get_filenameincludes/bootstrap.incReturns and optionally sets the filename for a system item (module, theme, etc.). The filename, whether provided, cached, or retrieved from the database, is only returned if the file exists.