./.git/hooks/pre-commit.sample: # Note that the use of brackets around a tr range is ok here, (it's ./.git/hooks/update.sample:# if $newrev is 0000...0000, it's a commit to delete a ref. ./.htaccess: # Disable content sniffing, since it's an attack vector. ./.htaccess: # Disable Proxy header, since it's an attack vector. ./core/themes/seven/css/components/quickedit.css: * Override Quick Edit's entity toolbar style on the Drupal front-end. ./core/themes/seven/css/components/views-ui.css: * padding), but it's probably safe to just let it apply everywhere. ./core/tests/Drupal/Tests/BrowserTestBase.php: * If it's an array its contents are used as constructor params when default ./core/tests/Drupal/Tests/Listeners/DrupalStandardsListener.php: // Check for the existence of the class if it's specified by @covers. ./core/tests/Drupal/Tests/Listeners/DrupalStandardsListener.php: // global function, so we should use the default class if it's ./core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php: // Remove markup because it's compared above in the xpath. ./core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php: // Merging with duplicates: duplicates are simply retained, it's up to the ./core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php: // technically the same one we're looking for now (it's the exact same ./core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php: // The 'array' key should not be returned, as it's the same. ./core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php: * Tests the getContentType() method when no priority format is found but it's an AJAX request. ./core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php: // It's impossible to add two conditions on the same field; in that case, ./core/tests/Drupal/Tests/Component/Utility/XssTest.php: // 
, so it's OK. ./core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php: // Write out a PHP file and ensure it's successfully loaded. ./core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php: // Write out a PHP file and ensure it's successfully loaded. ./core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php: // Write out a PHP file and ensure it's successfully loaded. ./core/tests/Drupal/KernelTests/AssertConfigTrait.php: * entire file will be ignored, otherwise it's an array of strings which are ./core/tests/Drupal/KernelTests/KernelTestBase.php: // PHPUnit's @test annotations are intentionally ignored/not supported. ./core/tests/Drupal/KernelTests/AssertLegacyTrait.php: * @deprecated Scheduled for removal in Drupal 9.0.0. Use PHPUnit's native ./core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php: // Nonsensical value to verify if it's possible to override path settings. ./core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php: // It's pirate day today! ./core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php: // It's pirate day today! ./core/tests/Drupal/KernelTests/Core/Updater/UpdaterTest.php: // Get the project title from it's directory. If it can't find the title ./core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php: // Ensure that applyUpdates() runs without error (it's not expected to do ./core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php: // It's expected to throw an exception. ./core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php: // Remove the base field and apply updates. It's expected to throw an ./core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php: // Remove the bundle field and apply updates. It's expected to throw an ./core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php: // Change the field's field type and apply updates. It's expected to ./core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php: // Change the field's field type and apply updates. It's expected to ./core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php: // That should find only one record. Yes it's a non-optimal way of writing ./core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php: // it, so push another request onto the stack to ensure it's correct. ./core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php: * Moves the link with the given ID so it's under a new parent. ./core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php: * Test that a node, or it's specific corner, is visible in the viewport. ./core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php: * Check the visibility of a node, or it's specific corner. ./core/tests/bootstrap.php: * phpunit's global state change watcher. The class loader can be retrieved from ./core/includes/theme.inc: // If it's a renderable, then it'll be up to the generated render array it ./core/includes/theme.inc: * associative array or a string. If it's an array, it can have the ./core/includes/theme.inc: * It's the caller's responsibility to ensure this array's items contain no ./core/includes/bootstrap.inc: * because when writing a function, it's hard to forecast all the situations in ./core/includes/bootstrap.inc: * during a single page request, then it's ok to use the "static" keyword ./core/includes/file.inc: // implemented. It's not necessary to use drupal_unlink() as the Windows ./core/modules/image/js/theme.js: * Provides theme functions for image Quick Edit's client-side HTML. ./core/modules/image/image.install: // Create the styles directory and ensure it's writable. ./core/modules/image/src/ImageStyleStorage.php: * This value is not stored in the backend. It's used during the deletion of ./core/modules/image/src/Entity/ImageStyle.php: // ensure that it is included. Once the file exists it's fine to fall back ./core/modules/image/src/ImageStyleInterface.php: * (optional) The original image path or URI. If it's supplied, only this ./core/modules/image/src/Plugin/Field/FieldType/ImageItem.php: // here, so it won't be escaped again as it's already marked safe. ./core/modules/taxonomy/src/Form/OverviewTerms.php: // If this form was already submitted once, it's probably hit a validation ./core/modules/taxonomy/src/Form/OverviewTerms.php: // Same as above, the depth is modified by javascript, so it's a ./core/modules/taxonomy/src/TermViewsData.php: // @todo This stuff needs to move to a node field since really it's all ./core/modules/taxonomy/src/TermStorage.php: // We cache trees, so it's not CPU-intensive to call on a term and its ./core/modules/taxonomy/src/TermStorage.php: // Uses a loop instead of a recursion, because it's more efficient. ./core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepthModifier.php: // We don't know our argument yet, but it's based upon our position: ./core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php: // If it's non-required and there's no value don't bother filtering. ./core/modules/taxonomy/src/TermForm.php: // Root doesn't count if it's the only parent. ./core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php: * Whether the placeholder is safe for use in a HTML attribute (in case it's ./core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php: * it's a placeholder for a HTML attribute value or a subset of it). ./core/modules/big_pipe/src/Render/BigPipe.php: * being replaced. But it's possible to add additional placeholder strategies. ./core/modules/big_pipe/src/Render/BigPipe.php: * all; it's just the use of multiple flushes. Since it is able to reuse much of ./core/modules/big_pipe/src/Render/BigPipe.php: * not HTML, but for example a HTML attribute value (or part thereof). It's not ./core/modules/big_pipe/src/Render/BigPipe.php: * 1. if it's a ./core/modules/big_pipe/src/Render/BigPipe.php: * 2. big_pipe_nojs_placeholder_attribute_safe:… if it's a placeholder ./core/modules/migrate_drupal/tests/fixtures/drupal7.php: 'body_value' => "...is that it's the absolute best show ever. Trust me, I would know.", ./core/modules/migrate_drupal/tests/fixtures/drupal7.php: 'body_value' => "is - ...is that it's the absolute best show ever. Trust me, I would know.", ./core/modules/migrate_drupal/tests/fixtures/drupal7.php: 'body_value' => "...is that it's the absolute best show ever. Trust me, I would know.", ./core/modules/migrate_drupal/tests/fixtures/drupal7.php: 'body_value' => "is - ...is that it's the absolute best show ever. Trust me, I would know.", ./core/modules/migrate_drupal/tests/fixtures/drupal6.php: 'value' => "s:424:\"fr - !username,\r\n\r\nA request to reset the password for your account has been made at !site.\r\n\r\nYou may now log in to !uri_brief by clicking on this link or copying and pasting it in your browser:\r\n\r\n!login_url\r\n\r\nThis is a one-time login, so it can be used only once. It expires after one day and nothing will happen if it's not used.\r\n\r\nAfter logging in, you will be redirected to !edit_uri so you can change your password.\";", ./core/modules/migrate_drupal/tests/fixtures/drupal6.php: 'value' => "s:419:\"!username,\r\n\r\nA request to reset the password for your account has been made at !site.\r\n\r\nYou may now log in to !uri_brief by clicking on this link or copying and pasting it in your browser:\r\n\r\n!login_url\r\n\r\nThis is a one-time login, so it can be used only once. It expires after one day and nothing will happen if it's not used.\r\n\r\nAfter logging in, you will be redirected to !edit_uri so you can change your password.\";", ./core/modules/migrate_drupal/tests/fixtures/drupal6.php: 'source' => "Configure how this content type's fields and field labels should be displayed when it's viewed in teaser and full-page mode.", ./core/modules/migrate_drupal/tests/fixtures/drupal6.php: 'source' => "Configure how this content type's fields should be displayed when it's rendered in the following contexts.", ./core/modules/migrate_drupal/tests/fixtures/drupal6.php: 'source' => "This text is displayed at the picture upload form in addition to the default guidelines. It's useful for helping or instructing your users.", ./core/modules/migrate_drupal/tests/fixtures/drupal6.php: 'value' => "s:409:\"!username,\n\nA request to reset the password for your account has been made at !site.\n\nYou may now log in to !uri_brief by clicking on this link or copying and pasting it in your browser:\n\n!login_url\n\nThis is a one-time login, so it can be used only once. It expires after one day and nothing will happen if it's not used.\n\nAfter logging in, you will be redirected to !edit_uri so you can change your password.\";", ./core/modules/migrate_drupal/tests/src/Kernel/d6/EntityContentBaseTest.php: // This value is not overwritten because it's not listed in ./core/modules/migrate_drupal/tests/modules/migrate_overwrite_test/migration_templates/users.yml: # It's possible to overwrite nested properties too. ./core/modules/migrate_drupal/src/Annotation/MigrateCckField.php: // Provide default value for core property, in case it's missing. ./core/modules/config/src/Tests/ConfigExportUITest.php: // Extract the archive and verify it's not empty. ./core/modules/editor/js/editor.admin.js: // and no whitelisting was ever applied, then it's still fine: ./core/modules/editor/js/editor.admin.js: // anyway. It's only this late that we can know this for certain. ./core/modules/editor/js/editor.admin.js: * text editor feature is unable to function. It's possible that a ./core/modules/editor/js/editor.admin.js: // Create a Drupal.FilterStatus object to track the state (whether it's ./core/modules/editor/js/editor.js: // If there is no content yet, it's always safe to change the text format. ./core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php: // https://www.drupal.org/node/1210798. Restore after it's fixed. ./core/modules/editor/src/EditorInterface.php: * A text editor may be created at the same time as the filter format it's ./core/modules/ckeditor/js/plugins/drupalimage/plugin.js: // It's first edit, just after widget instance creation, but before ./core/modules/ckeditor/js/plugins/drupalimagecaption/plugin.js: // disabled), but it is centered, make sure that it's wrapped with ./core/modules/ckeditor/js/ckeditor.admin.js: // If it's currently still a placeholder, then that means we're ./core/modules/ckeditor/js/views/VisualView.js: // If a placeholder group exists, make sure it's at the end of the row. ./core/modules/ckeditor/src/CKEditorPluginManager.php: // settings for this plugin. Only do this if it's a CKEditor plugin that ./core/modules/ckeditor/src/CKEditorPluginManager.php: // just provides buttons, don't do this if it's a contextually enabled ./core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php: // valid; it only changes whenever the text format is changed, hence it's ./core/modules/search/src/SearchQuery.php: * not needed until the execute() step. However, it's not really necessary ./core/modules/search/src/Tests/SearchConfigSettingsFormTest.php: // Link the node to itself to test that it's only indexed once. The content ./core/modules/search/src/Tests/SearchConfigSettingsFormTest.php: // Test each plugin if it's enabled as the only search plugin. ./core/modules/search/search.module: // If they are, it's probably broken HTML. ./core/modules/field/tests/src/Kernel/EntityReference/Views/EntityReferenceRelationshipTest.php: // Create another field for testing with a long name. So it's storage name ./core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php: // Create a field with a defined cardinality, so that we can ensure it's ./core/modules/field/src/Tests/reEnableModuleFieldTest.php: // for it's fields. ./core/modules/field/src/Tests/Views/FieldUITest.php: // @todo Replace this sort by assertArray once it's in. ./core/modules/field/src/Entity/FieldStorageConfig.php: // some CPU and memory profiling to see if it's worth statically caching ./core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php: // Unless it's very very old content. Everything in the query is already ./core/modules/page_cache/src/Tests/PageCacheTest.php: // GET it again, verify it's still not cached. ./core/modules/page_cache/src/Tests/PageCacheTest.php: // GET it again, verify it's still not cached. ./core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php: $this->assertIdentical("...is that it's the absolute best show ever. Trust me, I would know.", $node->body->value); ./core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php: $this->assertSame("is - ...is that it's the absolute best show ever. Trust me, I would know.", $translation->body->value); ./core/modules/node/src/Tests/NodeFormButtonsTest.php: // Save the node and assert it's published after clicking ./core/modules/node/src/Tests/NodeFormButtonsTest.php: // Save the node and verify it's still published after clicking ./core/modules/node/src/Tests/NodeFormButtonsTest.php: // Save the node and verify it's unpublished after clicking ./core/modules/node/src/Tests/NodeFormButtonsTest.php: // it's still unpublished. ./core/modules/node/src/Plugin/Search/NodeSearch.php: // controller uses that to decide it's time to check for search results. ./core/modules/node/src/Plugin/migrate/source/d6/Node.php: // alter the query directly before it's run, but this will do for ./core/modules/node/migration_templates/d7_node.yml: # In D7, nodes always have a tnid, but it's zero for untranslated nodes. ./core/modules/node/migration_templates/d6_node.yml: # In D6, nodes always have a tnid, but it's zero for untranslated nodes. ./core/modules/tracker/tracker.module: // Get unique user IDs via entityQueryAggregate because it's the easiest ./core/modules/tracker/tracker.module: * Adds new tracking information for this node since it's new. ./core/modules/tracker/tracker.module: * Adds tracking information for this node since it's been updated. ./core/modules/tracker/src/Tests/TrackerTest.php: // It's almost certainly too brittle. ./core/modules/tracker/src/Tests/TrackerTest.php: // Unpublish the node and ensure that it's no longer displayed. ./core/modules/tracker/src/Plugin/views/argument/UserUid.php: // Because this handler thinks it's an argument for a field on the {node} ./core/modules/tracker/src/Plugin/views/filter/UserUid.php: // Because this handler thinks it's an argument for a field on the {node} ./core/modules/simpletest/tests/src/Unit/TestBaseTest.php: // since it's protected. ./core/modules/simpletest/src/TestBase.php: * When displaying which function an assert comes from, it's not too useful ./core/modules/simpletest/src/Tests/BrowserTest.php:A \$third$ link, so weird it's worth $1 million ./core/modules/simpletest/src/AssertContentTrait.php: // It's much easier to work with simplexml than DOM, luckily enough ./core/modules/simpletest/src/WebTestBase.php: // handleForm() function, it's not currently a requirement. ./core/modules/simpletest/simpletest.module: * a regular expression to PHPUnit's --filter option. ./core/modules/simpletest/simpletest.module: * The parsed results of PHPUnit's JUnit XML output, in the format of ./core/modules/simpletest/simpletest.module: * Returns the path to use for PHPUnit's --log-junit option. ./core/modules/simpletest/simpletest.module: * a regular expression to PHPUnit's --filter option. ./core/modules/simpletest/simpletest.module: * A filepath to use for PHPUnit's --log-junit option. ./core/modules/simpletest/simpletest.module: * Converts PHPUnit's JUnit XML output to an array. ./core/modules/locale/locale.install: // Create the interface translations directory and ensure it's writable. ./core/modules/locale/src/Tests/LocaleTranslationUiTest.php: // No t() here, it's surely not translated yet. ./core/modules/locale/src/Tests/LocaleImportFunctionalTest.php: // Get the language.entity.de label and check it's been translated. ./core/modules/locale/locale.libraries.yml: # This file does not actually exist; it's a placeholder file that will be ./core/modules/language/language.module: // The prefix for this language should be updated if it's not assigned yet ./core/modules/language/src/Tests/LanguageListTest.php: // Ensure that NL cannot be set default when it's not available. ./core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php: // Uninstall entity test and ensure it's removed from the workflow. ./core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php: * Creates a page node type to test with, ensuring that it's moderated. ./core/modules/content_moderation/src/Plugin/views/filter/LatestRevision.php: // sufficiently edge-case-y that it's probably not worth the time to ./core/modules/quickedit/js/quickedit.js: * contextual link for their entity: when it's possible to initiate editing. ./core/modules/quickedit/js/quickedit.js: // outside of "the entity DOM node": it's rendered as the page title. So in ./core/modules/quickedit/js/quickedit.js: * e.g. 0, 1 or n (depending on whether it's the first, second, or n+1st ./core/modules/quickedit/js/theme.js: * Provides theme functions for all of Quick Edit's client-side HTML. ./core/modules/quickedit/js/models/EntityModel.js: // Ensure it's a valid state. ./core/modules/quickedit/js/models/EntityModel.js: // Ensure it's a state change that is allowed. ./core/modules/quickedit/js/models/FieldModel.js: // Ensure it's a valid state. ./core/modules/quickedit/js/views/FieldDecorationView.js: // NOTE: this state is not used by every editor! It's only used by ./core/modules/quickedit/js/views/FieldDecorationView.js: // 1) Freeze the width (if it's not already set); don't use animations. ./core/modules/quickedit/js/views/EntityToolbarView.js: // guarantee that all animations will be finished, but it's a simple ./core/modules/quickedit/js/views/AppView.js: // If it's not against the general principle, then here are more ./core/modules/quickedit/js/views/EditorView.js: * to insert its own toolbar UI into Quick Edit's tightly integrated ./core/modules/quickedit/js/views/EditorView.js: * - Boolean fullWidthToolbar: indicates whether Quick Edit's tightly ./core/modules/quickedit/src/Tests/QuickEditLoadingTest.php: // Quick Edit's JavaScript would never hit these endpoints if the metadata ./core/modules/quickedit/src/Tests/QuickEditLoadingTest.php: * Tests that Quick Edit's data- attributes are present for content blocks. ./core/modules/quickedit/src/Ajax/FieldFormSavedCommand.php: * validation errors and pass the rerendered field to Quick Edit's JavaScript ./core/modules/quickedit/src/Ajax/FieldFormCommand.php: * AJAX command for passing a rendered field form to Quick Edit's JavaScript ./core/modules/contextual/js/toolbar/views/VisualView.js: * it's not the default value (i.e. false). ./core/modules/contextual/js/contextual.js: // links. Usually there will only be one placeholder, but it's ./core/modules/action/src/Plugin/Action/GotoAction.php: // Treat this as if it's user input of a path relative to the site's ./core/modules/file/tests/src/Kernel/ValidatorTest.php: * The image will be resized if it's too large. ./core/modules/file/src/FileAccessControlHandler.php: // the file can always access if it's not yet used. ./core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php: // Use the actual file description, if it's available. ./core/modules/file/src/Plugin/views/field/File.php: // But unfortunately it's impossible to bubble a cache context here. ./core/modules/file/src/Element/ManagedFile.php: // here, so it won't be escaped again as it's already marked safe. ./core/modules/file/src/Element/ManagedFile.php: // here, so it won't be escaped again as it's already marked safe. ./core/modules/file/src/Element/ManagedFile.php: // here, so it won't be escaped again as it's already marked safe. ./core/modules/file/file.module: // Delete the original if it's not in use elsewhere. ./core/modules/file/file.module: * array containing an error message if it's not or is empty. ./core/modules/file/file.module: * error message if it's not. ./core/modules/file/file.module: * error message if it's not. ./core/modules/file/file.module: * message if it's not. ./core/modules/file/file.module: // If we made it this far it's safe to record this file in the database. ./core/modules/file/file.module: // tokens are also often used in e-mails, it's better to keep absolute ./core/modules/file/file.module: // If it's a temporary file we can safely remove it immediately, otherwise ./core/modules/file/file.module: // it's up to the implementing module to remove usages of files to have them ./core/modules/contact/tests/src/Functional/ContactLanguageTest.php: * select, but it does so when it's enabled from the content language settings ./core/modules/contact/src/ContactFormAccessControlHandler.php: // Do not allow the 'personal' form to be deleted, as it's used for ./core/modules/update/update.compare.inc: // Otherwise, this release can't matter to us, since it's neither ./core/modules/update/update.authorize.inc: // though the connection itself is now gone. So, although it's ugly, we have ./core/modules/update/src/Form/UpdateManagerUpdate.php: // project in the form, regardless of if it's enabled or disabled. ./core/modules/update/src/UpdateManager.php: // since that data (even if it's stale) can be useful during ./core/modules/update/src/UpdateManager.php: // If the queue is currently empty, we're done. It's possible that ./core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php: // Create new view mode and verify it's available on the Manage Display ./core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php: // Create new form mode and verify it's available on the Manage Form ./core/modules/shortcut/src/Form/ShortcutSetDeleteForm.php: // Also, if a module implements hook_shortcut_default_set(), it's possible ./core/modules/filter/tests/src/Kernel/Plugin/migrate/process/FilterIdTest.php: // The filter ID isn't mapped, but it's unchanged from the source (i.e., ./core/modules/filter/tests/src/Kernel/Plugin/migrate/process/FilterIdTest.php: // The filter ID isn't mapped, but it's unchanged from the source (i.e., ./core/modules/filter/src/FilterFormatInterface.php: * the latter case, it's possible that restrictions on attributes are also ./core/modules/filter/src/Entity/FilterFormat.php: // it's outside of the intersection. ./core/modules/system/system.module: // The installation profile is required, if it's a valid module. ./core/modules/system/system.install: // Test PHP version and show link to phpinfo() if it's available ./core/modules/system/system.install: // If PHP is old, it's not safe to continue with the requirements check. ./core/modules/system/system.install: // We first check that a base theme is set because if it's set to false then ./core/modules/system/system.install: // it's unset in \Drupal\Core\Extension\ThemeHandler::rebuildThemeData(). ./core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php: // Test that a default directory is set if it's empty. ./core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php: // Test that a default storage class is set if it's empty. ./core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php: // Test that a default secret is not returned if it's set in the override. ./core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php: // Test that a default secret is set if it's empty. ./core/modules/system/tests/src/Functional/System/SystemAuthorizeTest.php: * redirects to authorize.php when it's done initializing. ./core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php: * Verify that when loading a given page, it's a page cache hit or miss. ./core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsForm.php: // anyway so this is fine until it's replaced with a JsonResponse. ./core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php: // when it's enabled. ./core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php: // anyway so this is fine until it's replaced with a JsonResponse. ./core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php: // taxonomy term can cause it's children to be be deleted too. ./core/modules/system/src/Tests/System/ErrorHandlerTest.php: // Remove the recoverable fatal error from the assertions, it's wanted here. ./core/modules/system/src/Tests/System/ThemeTest.php: // Check that the classy theme still can't be uninstalled as neither of it's ./core/modules/system/src/Tests/Cache/PageCacheTagsTestBase.php: * Verify that when loading a given page, it's a page cache hit or miss. ./core/modules/hal/tests/src/Functional/EntityResource/HalEntityNormalizationTrait.php: // 'target_uuid' properties, because it's encoded in the '_links' section. ./core/modules/hal/src/Normalizer/ContentEntityNormalizer.php: // Unset the bundle key from data, if it's there. ./core/modules/views_ui/views_ui.theme.inc: // Remove the 'All' default_group form element because it's added to the ./core/modules/views_ui/views_ui.theme.inc: // When JavaScript is enabled, the button for removing the group (if it's ./core/modules/views_ui/js/views-admin.js: * Move the groups operator so that it's between the first two groups, and ./core/modules/views_ui/js/views-admin.js: * - The row needs to be moved so that it's within one of the filter ./core/modules/views_ui/src/Form/Ajax/ConfigHandler.php: // For all other handle types it's the same. ./core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php: // Only make row draggable if it's not the default display. ./core/modules/views_ui/src/Tests/HandlerTest.php: // Remove the item and check that it's removed ./core/modules/views_ui/src/Tests/DisplayPathTest.php: // If it's a default tab, it should also have an additional settings link. ./core/modules/views_ui/src/Tests/DisplayTest.php: // The view should initially have the enabled class on it's form wrapper. ./core/modules/views_ui/src/Tests/DisplayTest.php: * Tests that the override option is hidden when it's not needed. ./core/modules/views_ui/src/ViewUI.php: // If it's revert just change the override and return. ./core/modules/views_ui/src/ViewFormBase.php: // If the default display isn't supposed to be shown, don't display its tab, unless it's the only display. ./core/modules/views_ui/admin.inc: // it's a convenient place where we have automatic access to the complete ./core/modules/views_ui/admin.inc: // know it's at the same level of the complete form array as the submit ./core/modules/views_ui/admin.inc: // @todo Move this to a separate function if it's needed on any forms that ./core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateI18nUserConfigsTest.php: $this->assertIdentical("fr - [user:name],\r\n\r\nA request to reset the password for your account has been made at [site:name].\r\n\r\nYou may now log in to [site:url-brief] by clicking on this link or copying and pasting it in your browser:\r\n\r\n[user:one-time-login-url]\r\n\r\nThis is a one-time login, so it can be used only once. It expires after one day and nothing will happen if it's not used.\r\n\r\nAfter logging in, you will be redirected to [user:edit-url] so you can change your password.", $config->get('password_reset.body')); ./core/modules/rest/tests/src/Functional/ResourceTestBase.php: * format and every auth provider. It's a special case (because that single REST ./core/modules/rest/tests/src/Functional/ResourceTestBase.php: * Because of the $method parameter, it's possible to first set up ./core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php: * Even though there is the generic EntityResource, it's necessary for every ./core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php: * validation constraints, et cetera. It's not because the generic case works, ./core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php: * Furthermore, it's necessary to test every format separately, because there ./core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php: // It's possible to not have any authentication providers enabled, when ./core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php: * Asserting a 406 response should be easy, but it's not, due to bugs. ./core/modules/rest/tests/src/Functional/EntityResource/User/UserResourceTestBase.php: $this->assertResourceErrorResponse(422, "Unprocessable Entity: validation failed.\nmail: Your current password is missing or incorrect; it's required to change the Email.\n", $response); ./core/modules/rest/tests/src/Functional/EntityResource/User/UserResourceTestBase.php: $this->assertResourceErrorResponse(422, "Unprocessable Entity: validation failed.\nmail: Your current password is missing or incorrect; it's required to change the Email.\n", $response); ./core/modules/rest/tests/src/Functional/EntityResource/User/UserResourceTestBase.php: $this->assertResourceErrorResponse(422, "Unprocessable Entity: validation failed.\npass: Your current password is missing or incorrect; it's required to change the Password.\n", $response); ./core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php: // request body's Content-Type for the response, if it's an acceptable ./core/modules/rest/src/RequestHandler.php: // with the structure of the decoded data and it's not valid. ./core/modules/rest/src/Plugin/views/display/RestExport.php: // Only use the requested content type if it's not 'html'. If it is then ./core/modules/content_translation/content_translation.module: // Supply the column_groups key if it's not there. ./core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php: * The metadata field will be updated, only if it's translatable. ./core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php: * The metadata field will be updated, only if it's translatable. ./core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php: * The metadata field will be updated, only if it's translatable. ./core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php: * The metadata field will be updated, only if it's translatable. ./core/modules/content_translation/src/ContentTranslationHandler.php: // at the moment, but it is correct to update it's value in a submission ./core/modules/aggregator/tests/modules/aggregator_test/aggregator_test_rss091.xml: Second example feed item title. This title is extremely long so that it exceeds the 255 character limit for titles in feed item storage. In fact it's so long that this sentence isn't long enough so I'm rambling a bit to make it longer, nearly there now. Ah now it's long enough so I'll shut up. ./core/modules/aggregator/src/Entity/Feed.php: // it's a timestamp and not a changed field. ./core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php: // so it won't be escaped again as it's already marked safe. ./core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php: // Try to resolve the given URI to a URL. It may fail if it's schemeless. ./core/modules/comment/tests/src/Kernel/CommentDefaultFormatterCacheTagsTest.php: // https://www.drupal.org/node/597236 lands. It's a temporary work-around. ./core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldInstanceTest.php: // This assertion fails because 1 !== TRUE. It's extremely strange that ./core/modules/comment/tests/src/Unit/Migrate/d6/CommentTestBase.php: // We need to set up the database contents; it's easier to do that below. ./core/modules/comment/src/CommentStatistics.php: // Get the user ID from the entity if it's set, or default to the ./core/modules/comment/src/CommentStatistics.php: // Get the user ID from the entity if it's set, or default to the ./core/modules/comment/src/CommentStatistics.php: // Use the changed date of the entity if it's set, or default to ./core/modules/user/config/install/user.mail.yml: body: "[user:display-name],\n\nA request to reset the password for your account has been made at [site:name].\n\nYou may now log in by clicking this link or copying and pasting it into your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password. It expires after one day and nothing will happen if it's not used.\n\n-- [site:name] team" ./core/modules/user/tests/fixtures/update/drupal-8.user-email-token-2587275.php: 'data' => "a:10:{s:14:\"cancel_confirm\";a:2:{s:4:\"body\";s:369:\"[user:name],\n\nA request to cancel your account has been made at [site:name].\n\nYou may now cancel your account on [site:url-brief] by clicking this link or copying and pasting it into your browser:\n\n[user:cancel-url]\n\nNOTE: The cancellation of your account is not reversible.\n\nThis link expires in one day and nothing will happen if it is not used.\n\n-- [site:name] team\";s:7:\"subject\";s:59:\"Account cancellation request for [user:name] at [site:name]\";}s:14:\"password_reset\";a:2:{s:4:\"body\";s:397:\"[user:name],\n\nA request to reset the password for your account has been made at [site:name].\n\nYou may now log in by clicking this link or copying and pasting it to your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password. It expires after one day and nothing will happen if it's not used.\n\n-- [site:name] team\";s:7:\"subject\";s:60:\"Replacement login information for [user:name] at [site:name]\";}s:22:\"register_admin_created\";a:2:{s:4:\"body\";s:463:\"[user:name],\n\nA site administrator at [site:name] has created an account for you. You may now log in by clicking this link or copying and pasting it to your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:name]\npassword: Your password\n\n-- [site:name] team\";s:7:\"subject\";s:58:\"An administrator created an account for you at [site:name]\";}s:29:\"register_no_approval_required\";a:2:{s:4:\"body\";s:437:\"[user:name],\n\nThank you for registering at [site:name]. You may now log in by clicking this link or copying and pasting it to your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:name]\npassword: Your password\n\n-- [site:name] team\";s:7:\"subject\";s:46:\"Account details for [user:name] at [site:name]\";}s:25:\"register_pending_approval\";a:2:{s:4:\"body\";s:281:\"[user:name],\n\nThank you for registering at [site:name]. Your application for an account is currently pending approval. Once it has been approved, you will receive another email containing information about how to log in, set your password, and other details.\n\n\n-- [site:name] team\";s:7:\"subject\";s:71:\"Account details for [user:name] at [site:name] (pending admin approval)\";}s:31:\"register_pending_approval_admin\";a:2:{s:4:\"body\";s:56:\"[user:name] has applied for an account.\n\n[user:edit-url]\";s:7:\"subject\";s:71:\"Account details for [user:name] at [site:name] (pending admin approval)\";}s:16:\"status_activated\";a:2:{s:4:\"body\";s:446:\"[user:name],\n\nYour account at [site:name] has been activated.\n\nYou may now log in by clicking this link or copying and pasting it into your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:name]\npassword: Your password\n\n-- [site:name] team\";s:7:\"subject\";s:57:\"Account details for [user:name] at [site:name] (approved)\";}s:14:\"status_blocked\";a:2:{s:4:\"body\";s:89:\"[user:name],\n\nYour account on [site:account-name] has been blocked.\n\n-- [site:name] team\";s:7:\"subject\";s:56:\"Account details for [user:name] at [site:name] (blocked)\";}s:15:\"status_canceled\";a:2:{s:4:\"body\";s:82:\"[user:name],\n\nYour account on [site:name] has been canceled.\n\n-- [site:name] team\";s:7:\"subject\";s:57:\"Account details for [user:name] at [site:name] (canceled)\";}s:8:\"langcode\";s:2:\"en\";}" ./core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTest.php: $this->assertIdentical("[user:name],\n\nA request to reset the password for your account has been made at [site:name].\n\nYou may now log in to [site:url-brief] by clicking on this link or copying and pasting it in your browser:\n\n[user:one-time-login-url]\n\nThis is a one-time login, so it can be used only once. It expires after one day and nothing will happen if it's not used.\n\nAfter logging in, you will be redirected to [user:edit-url] so you can change your password.", $config->get('password_reset.body')); ./core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserTest.php: // even if it's irrelevant to the test. ./core/modules/user/src/Tests/UserEditTest.php: $this->assertRaw(t("Your current password is missing or incorrect; it's required to change the %name.", ['%name' => t('Email')])); ./core/modules/user/src/Tests/UserEditTest.php: $this->assertRaw(t("Your current password is missing or incorrect; it's required to change the %name.", ['%name' => t('Password')])); ./core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraint.php: public $message = "Your current password is missing or incorrect; it's required to change the %name."; ./core/modules/dblog/tests/src/Functional/ConnectionFailureTest.php: // consequence it's impossible to use this connection to log the causing ./core/modules/forum/forum.module: // We keep the actual tid in forum table, if it's different from the ./core/modules/tour/src/Tests/TourTestBase.php: // It's a modal. ./core/modules/views/tests/src/Kernel/Plugin/StyleTestBase.php: // It's much easier to work with simplexml than DOM, luckily enough ./core/modules/views/tests/src/Kernel/QueryGroupByTest.php: // because it's unique and will test aggregation on 'name'. ./core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php: // Hide the field and see whether it's rendered. ./core/modules/views/src/Form/ViewsFormMainForm.php: // Add the output markup to the form array so that it's included when the form ./core/modules/views/src/ViewExecutable.php: * Does this view already have loaded it's handlers. ./core/modules/views/src/ViewExecutable.php: * The render array of the pager if it's set, blank string otherwise. ./core/modules/views/src/Tests/Plugin/StyleTest.php: // It's much easier to work with simplexml than DOM, luckily enough ./core/modules/views/src/Tests/Plugin/StyleTableTest.php: // Add a record containing unsafe markup to be sure it's filtered out. ./core/modules/views/src/Tests/Plugin/DisplayTest.php: // Add a new 'display_test' display and test it's there. ./core/modules/views/src/ManyToOneHelper.php: // Case 2: it's an 'and' or an 'or'. ./core/modules/views/src/ManyToOneHelper.php: // Case 3: it's a 'not'. ./core/modules/views/src/Entity/View.php: // Rebuild the router if this is a new view, or it's status changed. ./core/modules/views/src/Plugin/Block/ViewsBlockBase.php: * The type of the block. If it's 'block' it's a regular views display, ./core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php: // Clear out the content of title if it's not enabled. ./core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php: // It's an argument_default/argument_validate plugin, so set the argument. ./core/modules/views/src/Plugin/views/argument/NumericArgument.php: * Returns all titles, if it's just one title it's an array with one entry. ./core/modules/views/src/Plugin/views/ViewsPluginInterface.php: * If a form element has #flatten = TRUE, then all of it's children get moved ./core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php: // if it's available (since that's the most common use case). ./core/modules/views/src/Plugin/views/field/EntityField.php: // A field is not click sortable if it's a multiple field with ./core/modules/views/src/Plugin/views/field/EntityField.php: // Use \Drupal\Component\Utility\Xss::filterAdmin() because it's user data ./core/modules/views/src/Plugin/views/field/FieldPluginBase.php: * field alias used. The value is either a string in which case it's ./core/modules/views/src/Plugin/views/field/FieldPluginBase.php: * assumed to be a field on this handler's table; or it's an array in the ./core/modules/views/src/Plugin/views/field/FieldPluginBase.php: // NOTE: It's possible that some external fields might override the ./core/modules/views/src/Plugin/views/field/FieldPluginBase.php: // strip_tags() and viewsTokenReplace remove , so check whether it's ./core/modules/views/src/Plugin/views/BrokenHandlerTrait.php: * This means it's a placeholder used when a handler can't be found. ./core/modules/views/src/Plugin/views/row/RowPluginBase.php: * Does the row plugin support to add fields to it's output. ./core/modules/views/src/Plugin/views/row/RssFields.php: * Does the row plugin support to add fields to it's output. ./core/modules/views/src/Plugin/views/row/Fields.php: * Does the row plugin support to add fields to it's output. ./core/modules/views/src/Plugin/views/row/OpmlFields.php: * Does the row plugin support to add fields to it's output. ./core/modules/views/src/Plugin/views/ViewsHandlerInterface.php: * Determines if the handler is considered 'broken', meaning it's a ./core/modules/views/src/Plugin/views/ViewsHandlerInterface.php: * This method isn't used a great deal, but it's very handy for easily ./core/modules/views/src/Plugin/views/PluginBase.php: // Remove site default language from $languages so it's not added ./core/modules/views/src/Plugin/views/query/Sql.php: // be the prior relationship. Unless it's a direct link. ./core/modules/views/src/Plugin/views/query/Sql.php: // Only ensure the table if it's not the special random key. ./core/modules/views/src/Plugin/views/query/Sql.php: // Only add it if it's not already in there. ./core/modules/views/src/Plugin/views/style/Table.php: * Does the style plugin for itself support to add fields to it's output. ./core/modules/views/src/Plugin/views/style/Table.php: // it's set to is a column, that's ok ./core/modules/views/src/Plugin/views/style/StylePluginBase.php: * Does the style plugin for itself support to add fields to it's output. ./core/modules/views/src/Plugin/views/style/StylePluginBase.php: * least two locations. If it's not included, look on the display. ./core/modules/views/src/Plugin/views/style/StylePluginBase.php: * Should the output of the style plugin be rendered even if it's a empty view. ./core/modules/views/src/Plugin/views/style/Rss.php: * Does the style plugin for itself support to add fields to it's output. ./core/modules/views/src/Plugin/views/filter/NumericFilter.php: // rewrite the input value so that it's in the correct format so that ./core/modules/views/src/Plugin/views/filter/BooleanOperator.php: * summary of the filter. Normally, this should be static data, but if it's ./core/modules/views/src/Plugin/views/filter/BooleanOperator.php: // empty, use the label for 1, and if it's empty, use the label for 0. ./core/modules/views/src/Plugin/views/filter/Date.php: // Who cares what the value is if it's exposed and non-required. ./core/modules/views/src/Plugin/views/filter/Date.php: // Who cares what the value is if it's exposed and non-required. ./core/modules/views/src/Plugin/views/display/Feed.php: // definition, but in this case it's dependent on the view's base table, ./core/modules/views/src/Plugin/views/display/Page.php: // First execute the view so it's possible to get tokens for the title. ./core/modules/views/src/Plugin/views/display/DisplayPluginBase.php: // Continue to next handler if it's not groupable. ./core/modules/views/src/Plugin/views/display/DisplayPluginBase.php: // If it's the item we're looking at is pulling from the default display, ./core/modules/views/src/Plugin/views/display/DisplayPluginBase.php: // Switch the type to singular, if it's a plural handler. ./core/modules/views/src/Plugin/views/area/AreaPluginBase.php: * is not static and maybe itself be empty if it's rendered. ./core/modules/views/src/Plugin/views/area/HTTPStatusCode.php: // Add the HTTP status code, so it's easier for people to find it. ./core/modules/views/src/Plugin/views/HandlerBase.php: // If this is empty, it's a direct link. ./core/modules/views/src/Plugin/views/HandlerBase.php: // For all other handle types it's the same. ./core/modules/views/src/Plugin/views/HandlerBase.php: // form from the stack, even if it's an #ajax. So add the item back to the top ./core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php: // into a SelectQuery that it does not recognize (because it's outer) just ./core/modules/views/src/Annotation/ViewsRow.php: * If it's set to TRUE, you can still use it via the API in config files. ./core/modules/views/src/Annotation/ViewsCache.php: * If it's set to TRUE, you can still use it via the API in config files. ./core/modules/views/src/Annotation/ViewsArgumentDefault.php: * If it's set to TRUE, you can still use it via the API in config files. ./core/modules/views/src/Annotation/ViewsDisplay.php: * If it's set to TRUE, you can still use it via the API in config files. ./core/modules/views/src/Annotation/ViewsDisplayExtender.php: * If it's set to TRUE, you can still use it via the API in config files. ./core/modules/views/src/Annotation/ViewsPager.php: * If it's set to TRUE, you can still use it via the API in config files. ./core/modules/views/src/Annotation/ViewsExposedForm.php: * If it's set to TRUE, you can still use it via the API in config files. ./core/modules/views/src/Annotation/ViewsArgumentValidator.php: * If it's set to TRUE, you can still use it via the API in config files. ./core/modules/views/src/Annotation/ViewsStyle.php: * If it's set to TRUE, you can still use it via the API in config files. ./core/modules/views/src/Annotation/ViewsQuery.php: * If it's set to TRUE, you can still use it via the API in config files. ./core/modules/views/views.module: * embed a view in a node or something. It's meant to provide the simplest ./core/modules/views/views.theme.inc: $variables['fields'] = []; // ensure it's at least an empty array. ./core/modules/views/views.theme.inc: // Compare the link to the default home page; if it's the default home page, ./core/modules/book/src/BookOutlineStorageInterface.php: * Loads book's children using it's parent ID. ./core/modules/book/src/BookOutlineStorageInterface.php: * Update the book ID of the book link that it's being moved. ./core/modules/book/src/BookManager.php: // Look ahead to the next link, but leave it on the array so it's ./core/modules/migrate/tests/src/Kernel/MigrateSqlSourceTestBase.php: // SQLite uses loose affinity typing, so it's OK for every field to ./core/modules/migrate/tests/src/Kernel/QueryBatchTest.php: // SQLite uses loose affinity typing, so it's OK for every field to ./core/modules/migrate/tests/src/Kernel/MigrateExternalTranslatedTest.php: * Ensure it's possible to migrate in translations, even if there's no nid or ./core/modules/migrate/src/Plugin/Migration.php: // If the source is uncountable, we have no way of knowing if it's ./core/modules/migrate/src/Plugin/migrate/process/Get.php: // If there are an odd number of @ in the beginning, it's a ./core/modules/migrate/src/Plugin/migrate/process/FileCopy.php: // Ensure the source file exists, if it's a local URI or path. ./core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php: * An updated entity, or NULL if it's the same as the one passed in. ./core/lib/Drupal/Core/StreamWrapper/PublicStream.php: * it's available, or a default behavior based on the request. ./core/lib/Drupal/Core/Form/FormErrorHandler.php: // it's parent elements structure. ./core/lib/Drupal/Core/Form/FormValidator.php: // $form_state->getValue(BUTTON_NAME). If it's still there, after ./core/lib/Drupal/Core/Form/FormValidator.php: // length if it's a string, and the item count if it's an array. ./core/lib/Drupal/Core/Form/FormValidator.php: // element, if it's still appropriate to do so. ./core/lib/Drupal/Core/Form/FormValidator.php: // #submit property, because it's too large a security risk to have any ./core/lib/Drupal/Core/Form/FormValidator.php: // TRUE), then it's safe to suppress all validation errors, and we do so ./core/lib/Drupal/Core/Form/ConfigFormBaseTrait.php: * conjunction with the trait's config() method. ./core/lib/Drupal/Core/Form/FormBuilder.php: // a copy of the form in question. If it's there, we don't have to rebuild ./core/lib/Drupal/Core/Form/FormBuilder.php: // $ajax_form_request that it's an AJAX request for this particular form. ./core/lib/Drupal/Core/Form/FormBuilder.php: // - It's the form method that defines what the form needs to do to manage ./core/lib/Drupal/Core/Form/FormBuilder.php: // there's some other error, so it's ok if an exception is thrown. ./core/lib/Drupal/Core/Form/FormBuilder.php: // $form_state->getValue(BUTTON_NAME) being set. But it's common for ./core/lib/Drupal/Core/Form/FormBuilder.php: // control's attributes. However, it's good UI to let the user know that ./core/lib/Drupal/Core/Form/FormBuilder.php: // purposes, only, but still allow input to be processed if it's submitted, ./core/lib/Drupal/Core/Form/FormBuilderInterface.php: * intensive, so it is best to minimize how often it's done. ./core/lib/Drupal/Core/Asset/AssetDumper.php: // It's possible that the rewrite rules in .htaccess aren't working on this ./core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php: // The destination is not an absolute path and it's not a URI (e.g. ./core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php: // it's relative to the theme. ./core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php: // Optimize this JS file, but only if it's not yet minified. ./core/lib/Drupal/Core/Controller/ControllerBase.php: * contain sufficiently complex logic that it's worth testing should not use ./core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php: // of whether it's new or updated. ./core/lib/Drupal/Core/Config/Entity/Query/Condition.php: // If AND and it's not matching, then the rest of conditions do not ./core/lib/Drupal/Core/Config/ConfigInstallerInterface.php: * - it's a configuration entity. ./core/lib/Drupal/Core/Render/RenderCache.php: // it's only the redirection element itself that is creating the ./core/lib/Drupal/Core/Render/theme.api.php: * theme hook it's best to use hook_theme_suggestions_HOOK_alter(). ./core/lib/Drupal/Core/Render/theme.api.php: * Ordinarily this won't be used; it's automatically filled in. By default, ./core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php: * (even if it's hidden). ./core/lib/Drupal/Core/Render/Renderer.php: // If #access is an AccessResultInterface object, we must apply it's ./core/lib/Drupal/Core/Render/RendererInterface.php: * metadata for this element and all its children, so it's now ready for ./core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php: // it's not present. ./core/lib/Drupal/Core/Render/Element/VerticalTabs.php: // Clean up the active tab value so it's not accidentally stored in ./core/lib/Drupal/Core/Render/Element/Dropbutton.php: * if not, it's links__dropbutton; both of these can be overridden by setting ./core/lib/Drupal/Core/Render/Element/Radios.php: // unless it's empty. (An empty #default_value, such as NULL or FALSE, can ./core/lib/Drupal/Core/Render/Element/Container.php: // Generate the ID of the element if it's not explicitly given. ./core/lib/Drupal/Core/Composer/Composer.php: // We need the local repository so that we can query and see if it's likely ./core/lib/Drupal/Core/Archiver/ArchiveTar.php: // No sure it's enought for a magic code .... ./core/lib/Drupal/Core/Language/language.api.php: * differently depending on how it's being used. To address this problem, the ./core/lib/Drupal/Core/Updater/Theme.php: * won't let you install a new theme if it's already found on your system, ./core/lib/Drupal/Core/Updater/Updater.php: * The root directory under which the project will be copied to if it's a ./core/lib/Drupal/Core/Updater/Updater.php: * The root directory under which the project will be copied to if it's a ./core/lib/Drupal/Core/Updater/Module.php: * won't let you install a new module if it's already found on your system, ./core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php: // If the above failed, it's because the redirect target wasn't ./core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php: // Treat this as if it's user input of a path relative to the site's ./core/lib/Drupal/Core/EventSubscriber/ExceptionTestSiteSubscriber.php: * original code. It's quite possible that this entire method is now ./core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php: // Render the controller result into a response if it's a render array. ./core/lib/Drupal/Core/Utility/ProjectInfo.php: // Skip if it's a hidden project and the project is not installed. ./core/lib/Drupal/Core/Utility/ProjectInfo.php: // Skip if it's a hidden project and the project is a test project. Tests ./core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php: * Calling the trait's t() method or instantiating a new TranslatableMarkup ./core/lib/Drupal/Core/Entity/EntityStorageBase.php: // and we need to know if it's empty for this reason to avoid querying the ./core/lib/Drupal/Core/Entity/ContentEntityInterface.php: * enabled per entity type. It's best practice to always implement ./core/lib/Drupal/Core/Entity/Schema/EntityStorageSchemaInterface.php: * to non-revisionable, then it's okay to drop data for the non-default ./core/lib/Drupal/Core/Entity/Schema/DynamicallyFieldableEntityStorageSchemaInterface.php: * non-revisionable, then it's okay to drop data for the non-default ./core/lib/Drupal/Core/Entity/EntityStorageInterface.php: * A revision can only be deleted if it's not the currently active one. ./core/lib/Drupal/Core/Entity/entity.api.php: * It's possible to use both a YAML file and a provider class for entity ./core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php: * The weight of the plugin in it's group. ./core/lib/Drupal/Core/Entity/Entity.php: // other pages than the one it's on. The one it's on is handled by its own ./core/lib/Drupal/Core/Entity/Query/QueryBase.php: * Generates an alias for a field and it's aggregated function. ./core/lib/Drupal/Core/Entity/Query/QueryInterface.php: * match the provided value. Further, it's possible to create a condition on ./core/lib/Drupal/Core/Entity/Query/QueryInterface.php: * The value for $field. In most cases, this is a scalar and it's treated as ./core/lib/Drupal/Core/Entity/Query/Sql/Tables.php: // If there are more specifiers to come, it's a relationship. ./core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php: * Returns the aggregated result, or a number if it's a count query. ./core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php: // it's value is properly checked for access. ./core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php: // storing field data. Revision metadata is an exception as it's stored ./core/lib/Drupal/Core/Layout/Annotation/Layout.php: * If specified, it's assumed that the module or theme registering this layout ./core/lib/Drupal/Core/Database/Connection.php: * This is needed for logging and auditing. It's sloppy to do in the ./core/lib/Drupal/Core/Database/Database.php: // it's not available, then the default/primary server is the correct server ./core/lib/Drupal/Core/Database/Database.php: // If there is no "driver" property, then we assume it's an array of ./core/lib/Drupal/Core/Database/Database.php: * will then always fall back to 'default' for that key, even if it's defined. ./core/lib/Drupal/Core/Database/Schema.php: * passed, it's an array whose first element is the field name and whose ./core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php: // Just ignore this field (ie. use it's default value). ./core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php: // retry the INSERT and if it's still too small then alter the sequence. ./core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php: // Modify the hash so it's safe to use in PostgreSQL identifiers. ./core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php: // Now, attempt the connection again; if it's successful, attempt to ./core/lib/Drupal/Core/Database/Driver/mysql/Connection.php: // Because MySQL's prepared statements skip the query cache, because it's dumb. ./core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php: // Now, attempt the connection again; if it's successful, attempt to ./core/lib/Drupal/Core/Database/Query/Merge.php: * takes precedence over MergeQuery::updateFields() and it's wrappers, ./core/lib/Drupal/Core/Database/Query/Merge.php: // The insert query failed, maybe it's because a racing insert query ./core/lib/Drupal/Core/Database/Query/SelectExtender.php: // Others will return some useful value. If it's a value, then the caller ./core/lib/Drupal/Core/Database/Query/SelectExtender.php: // probably wants that value. If it's the called object, then we instead ./core/lib/Drupal/Core/Database/Log.php: // If the call was made from a function, 'class' will be empty. It's ./core/lib/Drupal/Core/Template/TwigExtension.php: // If it's a renderable, then it'll be up to the generated render array it ./core/lib/Drupal/Core/Logger/RfcLogLevel.php: * closed with the comment, "And it's also not a bug, as Windows just have less ./core/lib/Drupal/Core/Logger/LoggerChannel.php: * It's very easy for logging channel code to call out to other library code ./core/lib/Drupal/Core/Field/FieldItemInterface.php: * This function does the inverse of static::storageSettingsToConfigData(). It's ./core/lib/Drupal/Core/Field/FieldItemInterface.php: * It's called when loading a field's settings from a configuration ./core/lib/Drupal/Core/Routing/CompiledRoute.php: * object is little more than a collection of values it's not a serious ./core/lib/Drupal/Core/Command/DbDumpCommand.php: // Try use the provided length, if it doesn't exist default to 100. It's ./core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php: * category. For that the trait's processDefinitionCategory() method can be ./core/lib/Drupal/Core/Extension/module.api.php: // Create the styles directory and ensure it's writable. ./core/lib/Drupal/Core/DrupalKernel.php: // Determine the application root if it's not supplied. ./core/lib/Drupal/Core/DrupalKernel.php: // It's pointless to persist services not yet initialized. ./core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php: // Default the fast backend to APCu if it's available. ./core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php: // If it's a valid context token, then the ID must be stored in the set ./core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php: // plugin, add it here so it's available to any consumers of this method. ./core/lib/Drupal/Core/Menu/MenuTreeStorage.php: // Since this will be urlencoded, it's safe to store and match against a ./core/lib/Drupal/Core/Menu/MenuTreeStorage.php: // It's possible the link is already deleted. ./core/lib/Drupal/Core/Menu/MenuTreeStorage.php: // Since this will be urlencoded, it's safe to store and match against a ./core/lib/Drupal/Core/Menu/MenuTreeStorage.php: // Look ahead to the next link, but leave it on the array so it's ./core/lib/Drupal/Core/Menu/MenuLinkManager.php: // (required) The name of the route this links to, unless it's external. ./core/lib/Drupal/Core/Menu/MenuLinkManager.php: // It's possible the definition has already been deleted, or doesn't exist. ./core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php: * only used when updating one, avoid actually loading the config when it's ./core/lib/Drupal/Component/Utility/Crypt.php: // Modify the hmac so it's safe to use in URLs. ./core/lib/Drupal/Component/Utility/Crypt.php: // Modify the hash so it's safe to use in URLs. ./core/lib/Drupal/Component/Utility/UserAgent.php: // more specific one, so the more specific one gets selected if it's ./core/lib/Drupal/Component/Diff/Engine/DiffEngine.php: * Returns the whole line if it's small enough, or the MD5 hash otherwise. ./core/lib/Drupal/Component/Gettext/PoHeader.php: // If it's an operator, then pop from $operator_stack into ./core/misc/states.js: // Normalize the last parameter. If it's non-numeric, we treat it either ./core/misc/states.js: * Inverts a (if it's not undefined) when invertState is true. ./core/misc/form.js: // To facilitate things, the callback should always be a function. If it's ./core/misc/tabledrag.js: // Use the first row in the table as source, because it's guaranteed to ./core/assets/vendor/jquery/jquery.js: // Use a stripped-down indexOf as it's faster than native ./core/assets/vendor/jquery/jquery.js: // Check to see if it's possible to do matchesSelector ./core/assets/vendor/jquery/jquery.js:// The value/s can optionally be executed if it's a function ./core/assets/vendor/jquery/jquery.js: // Remove data and the expando if it's no longer used ./core/assets/vendor/jquery/jquery.js: // Define the hook, we'll check on the first run if it's really needed. ./core/assets/vendor/jquery/jquery.js: // Hook not needed (or it's not possible to use it due ./core/assets/vendor/jquery/jquery.js: // #9682: remove data so that it's not used in an eventual retry ./core/assets/vendor/jquery/jquery.js: // If it's a function ./core/assets/vendor/jquery/jquery.js: // We assume that it's the callback ./core/assets/vendor/jquery/jquery.js: // Make sure it's not a disconnected DOM node ./core/assets/vendor/backbone/backbone.js: // an event in another object... keeping track of what it's listening to ./core/assets/vendor/backbone/backbone.js: // to every object it's currently listening to. ./core/assets/vendor/backbone/backbone.js: // Unless silenced, it's time to fire all appropriate add/sort events. ./core/assets/vendor/normalize-css/normalize.css: * It's recommended that you don't attempt to style these elements. ./core/core.api.php: * it is not stored the same way so it's a separate type here. Session ./web.config: uncomment the following rule to mitigate it's impact. To make this