264 calls to entity_create()
- AggregatorTestBase::getFeedEditObject in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php
- Returns a randomly generated feed edit object.
- BlockTemplateSuggestionsUnitTest::testBlockThemeHookSuggestions in drupal/core/modules/block/lib/Drupal/block/Tests/BlockTemplateSuggestionsUnitTest.php
- Test if template_preprocess_block() handles the suggestions right.
- BlockTestBase::setUp in drupal/core/modules/block/lib/Drupal/block/Tests/BlockTestBase.php
- Sets up a Drupal site for running functional and integration tests.
- block_admin_add in drupal/core/modules/block/block.admin.inc
- Page callback: Build the block instance add form.
- BreadcrumbTest::testBreadCrumbs in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/BreadcrumbTest.php
- Tests breadcrumbs on node and administrative paths.
- BreakpointAPITest::testConfigName in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointAPITest.php
- Test Breakpoint::buildConfigName().
- BreakpointCRUDTest::testBreakpointCRUD in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointCRUDTest.php
- Test CRUD operations for breakpoints.
- BreakpointGroup::addBreakpointFromMediaQuery in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Plugin/Core/Entity/BreakpointGroup.php
- Adds a breakpoint using a name and a media query.
- BreakpointGroupAPITest::testConfigName in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointGroupAPITest.php
- Test Breakpoint::buildConfigName().
- BreakpointGroupCRUDTest::testBreakpointGroupCRUD in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointGroupCRUDTest.php
- Test CRUD operations for breakpoint groups.
- BreakpointThemeTest::testThemeBreakpointGroup in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointThemeTest.php
- Test the breakpoints defined by the custom group.
- BreakpointThemeTest::testThemeBreakpointGroupModule in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointThemeTest.php
- Test the breakpoints defined by the custom group in the module.
- BreakpointThemeTest::testThemeBreakpoints in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Tests/BreakpointThemeTest.php
- Test the breakpoints provided by a theme.
- CKEditorAdminTest::setUp in drupal/core/modules/ckeditor/lib/Drupal/ckeditor/Tests/CKEditorAdminTest.php
- Sets up a Drupal site for running functional and integration tests.
- CKEditorLoadingTest::setUp in drupal/core/modules/ckeditor/lib/Drupal/ckeditor/Tests/CKEditorLoadingTest.php
- Sets up a Drupal site for running functional and integration tests.
- CKEditorPluginManagerTest::setUp in drupal/core/modules/ckeditor/lib/Drupal/ckeditor/Tests/CKEditorPluginManagerTest.php
- Sets up Drupal unit test environment.
- CKEditorTest::setUp in drupal/core/modules/ckeditor/lib/Drupal/ckeditor/Tests/CKEditorTest.php
- Sets up Drupal unit test environment.
- CommentActionsTest::testCommentUnpublishByKeyword in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentActionsTest.php
- Tests the unpublish comment by keyword action.
- CommentApprovalTest::testApprovalAdminInterface in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentApprovalTest.php
- Test comment approval functionality through admin/content/comment.
- CommentApprovalTest::testApprovalNodeInterface in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentApprovalTest.php
- Tests comment approval functionality through the node interface.
- CommentAttributesTest::saveComment in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
- Creates a comment entity.
- CommentCSSTest::testCommentClasses in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentCSSTest.php
- Tests CSS classes on comments.
- CommentLinksTest::setEnvironment in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php
- Re-configures the environment, module settings, and user permissions.
- CommentNewIndicatorTest::testCommentNewCommentsIndicator in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentNewIndicatorTest.php
- Tests new comment marker.
- CommentTestBase::setUp in drupal/core/modules/comment/lib/Drupal/comment/Tests/Views/CommentTestBase.php
- Sets up a Drupal site for running functional and integration tests.
- comment_add in drupal/core/modules/comment/comment.module
- Returns a rendered form to comment the given node.
- comment_prepare_author in drupal/core/modules/comment/comment.module
- Prepares a user account object for rendering comment authors.
- ConditionFormTest::testConfigForm in drupal/core/modules/system/lib/Drupal/system/Tests/Condition/ConditionFormTest.php
- Submit the condition_node_type_test_form to test condition forms.
- ConfigEntityQueryTest::setUp in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/ConfigEntityQueryTest.php
- Sets up Drupal unit test environment.
- ConfigEntityStatusTest::testCRUD in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigEntityStatusTest.php
- Tests the enabling/disabling of entities.
- ConfigEntityTest::testCRUD in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigEntityTest.php
- Tests CRUD operations.
- ConfigLocaleOverride::testConfigLocaleUserAndGlobalOverride in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php
- Tests locale override in combination with global overrides.
- ConfigLocaleOverride::testConfigLocaleUserOverride in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php
- Tests locale override based on user's preferred language.
- contact_personal_page in drupal/core/modules/contact/contact.pages.inc
- Page callback: Form constructor for the personal contact form.
- contact_site_page in drupal/core/modules/contact/contact.pages.inc
- Page callback: Presents the site-wide contact form.
- ContextPluginTest::testContext in drupal/core/modules/system/lib/Drupal/system/Tests/Plugin/ContextPluginTest.php
- Tests basic context definition and value getters and setters.
- CreateTest::testCreate in drupal/core/modules/rest/lib/Drupal/rest/Tests/CreateTest.php
- Tests several valid and invalid create requests on all entity types.
- CustomBlockSaveTest::testImport in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockSaveTest.php
- Checks whether custom block IDs are saved properly during an import.
- CustomBlockTestBase::createCustomBlock in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTestBase.php
- Creates a custom block.
- CustomBlockTestBase::createCustomBlockType in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTestBase.php
- Creates a custom block type (bundle).
- CustomBlockTranslationUITest::createCustomBlock in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTranslationUITest.php
- Creates a custom block.
- CustomBlockTranslationUITest::testDisabledBundle in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTranslationUITest.php
- Test that no metadata is stored for a disabled bundle.
- custom_block_add in drupal/core/modules/block/custom_block/custom_block.pages.inc
- Page callback: Presents the custom block creation form.
- custom_block_type_add in drupal/core/modules/block/custom_block/custom_block.admin.inc
- Page callback: Presents the custom block type creation form.
- DefaultProcessor::process in drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/processor/DefaultProcessor.php
- Implements \Drupal\aggregator\Plugin\ProcessorInterface::process().
- DefaultViewRecentComments::setUp in drupal/core/modules/comment/lib/Drupal/comment/Tests/Views/DefaultViewRecentComments.php
- Sets up a Drupal site for running functional and integration tests.
- DefaultViewsTest::createTerm in drupal/core/modules/views/lib/Drupal/views/Tests/DefaultViewsTest.php
- Returns a new term with random properties in vocabulary $vid.
- DefaultViewsTest::setUp in drupal/core/modules/views/lib/Drupal/views/Tests/DefaultViewsTest.php
- Sets up a Drupal site for running functional and integration tests.
- Display::generateUnboundDisplay in drupal/core/modules/layout/lib/Drupal/layout/Plugin/Core/Entity/Display.php
- Implements BoundDisplayInterface::generateUnboundDisplay().
- DrupalUnitTestBaseTest::testEnableModulesFixedList in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php
- Tests that the module list is retained after enabling/installing/disabling modules.
- EditIntegrationTest::setUp in drupal/core/modules/editor/lib/Drupal/editor/Tests/EditIntegrationTest.php
- Sets the default field storage backend for fields created during tests.
- EditIntegrationTest::testGetUntransformedTextCommand in drupal/core/modules/editor/lib/Drupal/editor/Tests/EditIntegrationTest.php
- Tests GetUntransformedTextCommand AJAX command.
- EditIntegrationTest::testMetadata in drupal/core/modules/editor/lib/Drupal/editor/Tests/EditIntegrationTest.php
- Tests (custom) metadata when the formatted text editor is used.
- EditLoadingTest::setUp in drupal/core/modules/edit/lib/Drupal/edit/Tests/EditLoadingTest.php
- Sets up a Drupal site for running functional and integration tests.
- EditorAdminTest::setUp in drupal/core/modules/editor/lib/Drupal/editor/Tests/EditorAdminTest.php
- Sets up a Drupal site for running functional and integration tests.
- EditorLoadingTest::setUp in drupal/core/modules/editor/lib/Drupal/editor/Tests/EditorLoadingTest.php
- Sets up a Drupal site for running functional and integration tests.
- EditorLoadingTest::testLoading in drupal/core/modules/editor/lib/Drupal/editor/Tests/EditorLoadingTest.php
- Tests loading of text editors.
- EditorManagerTest::setUp in drupal/core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php
- Sets up Drupal unit test environment.
- EditorManagerTest::testManager in drupal/core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php
- Tests the configurable text editor manager.
- editor_form_filter_admin_format_editor_configure in drupal/core/modules/editor/editor.module
- Button submit handler for filter_admin_format_form()'s 'editor_configure' button.
- EmailItemTest::testEmailItem in drupal/core/modules/email/lib/Drupal/email/Tests/EmailItemTest.php
- Tests using entity fields of the email field type.
- EntityAccessTest::testEntityAccess in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityAccessTest.php
- Ensures entity access is properly working.
- EntityAccessTest::testEntityAccessDefaultController in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityAccessTest.php
- Ensures that the default controller is used as a fallback.
- EntityAccessTest::testEntityTranslationAccess in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityAccessTest.php
- Ensures entity access for entity translations is properly working.
- EntityApiTest::assertCRUD in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiTest.php
- Executes a test set for a defined entity type and user.
- EntityApiTest::testEntityStorageExceptionHandling in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiTest.php
- Tests that exceptions are properly thrown when saving or deleting an
entity.
- EntityBCDecoratorTest::testBCDecorator in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityBCDecoratorTest.php
- Tests using the entity BC decorator with entity properties.
- EntityCrudHookTest::testBlockHooks in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityCrudHookTest.php
- Tests hook invocations for CRUD operations on blocks.
- EntityCrudHookTest::testCommentHooks in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityCrudHookTest.php
- Tests hook invocations for CRUD operations on comments.
- EntityCrudHookTest::testFileHooks in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityCrudHookTest.php
- Tests hook invocations for CRUD operations on files.
- EntityCrudHookTest::testNodeHooks in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityCrudHookTest.php
- Tests hook invocations for CRUD operations on nodes.
- EntityCrudHookTest::testTaxonomyTermHooks in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityCrudHookTest.php
- Tests hook invocations for CRUD operations on taxonomy terms.
- EntityCrudHookTest::testTaxonomyVocabularyHooks in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityCrudHookTest.php
- Tests hook invocations for CRUD operations on taxonomy vocabularies.
- EntityCrudHookTest::testUserHooks in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityCrudHookTest.php
- Tests hook invocations for CRUD operations on users.
- EntityDisplayTest::testDeleteFieldInstance in drupal/core/modules/entity/lib/Drupal/entity/Tests/EntityDisplayTest.php
- Tests deleting field instance.
- EntityDisplayTest::testEntityDisplayCRUD in drupal/core/modules/entity/lib/Drupal/entity/Tests/EntityDisplayTest.php
- Tests basic CRUD operations on EntityDisplay objects.
- EntityDisplayTest::testExtraFieldComponent in drupal/core/modules/entity/lib/Drupal/entity/Tests/EntityDisplayTest.php
- Tests the behavior of a field component within an EntityDisplay object.
- EntityDisplayTest::testFieldComponent in drupal/core/modules/entity/lib/Drupal/entity/Tests/EntityDisplayTest.php
- Tests the behavior of a field component within an EntityDisplay object.
- EntityFieldTest::assertIntrospection in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php
- Executes the introspection tests for the given entity type.
- EntityFieldTest::assertReadWrite in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php
- Executes the read write test set for a defined entity type.
- EntityFieldTest::createTestEntity in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php
- Creates a test entity.
- EntityFieldTest::testEntityConstraintValidation in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php
- Tests validation constraints provided by the Entity API.
- EntityFilteringThemeTest::setUp in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/EntityFilteringThemeTest.php
- Sets up a Drupal site for running functional and integration tests.
- EntityFormDisplayTest::testFieldComponent in drupal/core/modules/entity/lib/Drupal/entity/Tests/EntityFormDisplayTest.php
- Tests the behavior of a field component within an EntityFormDisplay object.
- EntityLabelTest::testEntityLabel in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityLabelTest.php
- Tests label key and label callback of an entity.
- EntityNormalizer::denormalize in drupal/core/modules/hal/lib/Drupal/hal/Normalizer/EntityNormalizer.php
- Implements \Symfony\Component\Serializer\Normalizer\DenormalizerInterface::denormalize().
- EntityQueryRelationshipTest::setUp in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryRelationshipTest.php
- Sets up Drupal unit test environment.
- EntityQueryTest::setUp in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryTest.php
- Sets up Drupal unit test environment.
- EntityQueryTest::testCount in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryTest.php
- Test entity count query.
- EntityReferenceAutocompleteTest::testEntityReferenceAutocompletion in drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceAutocompleteTest.php
- Tests autocompletion edge cases with slashes in the names.
- EntityReferenceItemTest::setUp in drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceItemTest.php
- Sets up the test.
- EntityReferenceItemTest::testEntityReferenceItem in drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceItemTest.php
- Tests using entity fields of the entity reference field type.
- EntityReferenceSelectionAccessTest::testCommentHandler in drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceSelectionAccessTest.php
- Test the comment-specific overrides of the entity handler.
- EntityReferenceSelectionAccessTest::testNodeHandler in drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceSelectionAccessTest.php
- Test the node-specific overrides of the entity handler.
- EntityReferenceSelectionAccessTest::testUserHandler in drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceSelectionAccessTest.php
- Test the user-specific overrides of the entity handler.
- EntityReferenceSelectionSortTest::testSort in drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceSelectionSortTest.php
- Assert sorting by field and property.
- EntityResolverTest::testUuidEntityResolver in drupal/core/modules/serialization/lib/Drupal/serialization/Tests/EntityResolverTest.php
- Test that fields referencing UUIDs can be denormalized.
- EntityRevisionsTest::assertRevisions in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityRevisionsTest.php
- Executes the revision tests for the given entity type.
- EntitySerializationTest::setUp in drupal/core/modules/serialization/lib/Drupal/serialization/Tests/EntitySerializationTest.php
- Sets up Drupal unit test environment.
- EntityTranslationSyncImageTest::testImageFieldSync in drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationSyncImageTest.php
- Tests image field field synchronization.
- EntityTranslationTest::assertEntityLanguageMethods in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationTest.php
- Executes the entity language method tests for the given entity type.
- EntityTranslationTest::assertMultilingualProperties in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationTest.php
- Executes the multilingual property tests for the given entity type.
- EntityTranslationTestBase::createEntity in drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationTestBase.php
- Creates the entity to be translated.
- EntityUnitTestBase::createUser in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityUnitTestBase.php
- Creates a user.
- EntityUriTest::testDefaultUri in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityUriTest.php
- Tests that an entity without a URI callback uses the default URI.
- EntityUUIDTest::assertCRUD in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityUUIDTest.php
- Executes the UUID CRUD tests for the given entity type.
- EntityValidationTest::createTestEntity in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityValidationTest.php
- Creates a test entity.
- entity_get_display in drupal/core/includes/entity.inc
- Returns the entity_display object associated to a bundle and view mode.
- entity_get_form_display in drupal/core/includes/entity.inc
- Returns the entity_form_display object associated to a bundle and form mode.
- entity_test_add in drupal/core/modules/system/tests/modules/entity_test/entity_test.module
- Menu callback: displays the 'Add new entity_test' form.
- FeedParserTest::testInvalidFeed in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/FeedParserTest.php
- Tests error handling when an invalid feed is added.
- FeedParserTest::testRedirectFeed in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/FeedParserTest.php
- Tests error handling when an invalid feed is added.
- FieldAccessTest::testFieldAccess in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/FieldAccessTest.php
- Tests hook_entity_field_access() and hook_entity_field_access_alter().
- FieldAttachOtherTest::testFieldAttachCache in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachOtherTest.php
- Test field cache.
- FieldAttachStorageTest::testFieldAttachSaveMissingDataDefaultValue in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachStorageTest.php
- Test insert with missing or NULL fields, with default value.
- FieldEntityTest::testGetEntity in drupal/core/modules/views/lib/Drupal/views/Tests/Entity/FieldEntityTest.php
- Tests the getEntity method.
- FieldUiTestBase::setUp in drupal/core/modules/field_ui/lib/Drupal/field_ui/Tests/FieldUiTestBase.php
- Sets up a Drupal site for running functional and integration tests.
- field_create_field in drupal/core/modules/field/field.crud.inc
- Creates a field.
- field_create_instance in drupal/core/modules/field/field.crud.inc
- Creates an instance of a field, binding it to a bundle.
- field_test_create_entity in drupal/core/modules/field/tests/modules/field_test/field_test.entity.inc
- Creates a basic test_entity entity.
- field_test_entity_nested_form_submit in drupal/core/modules/field/tests/modules/field_test/field_test.entity.inc
- Submit handler for field_test_entity_nested_form().
- field_test_entity_nested_form_validate in drupal/core/modules/field/tests/modules/field_test/field_test.entity.inc
- Validate handler for field_test_entity_nested_form().
- FileFieldTestBase::getTestFile in drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldTestBase.php
- Retrieves a sample file of the specified type.
- FileItemTest::setUp in drupal/core/modules/file/lib/Drupal/file/Tests/FileItemTest.php
- Set the default field storage backend for fields created during tests.
- FileItemTest::testFileItem in drupal/core/modules/file/lib/Drupal/file/Tests/FileItemTest.php
- Tests using entity fields of the file field type.
- FileManagedTestBase::createFile in drupal/core/modules/file/lib/Drupal/file/Tests/FileManagedTestBase.php
- Create a file and save it to the files table and assert that it occurs
correctly.
- FileMoveTest::testNormal in drupal/core/modules/system/lib/Drupal/system/Tests/Image/FileMoveTest.php
- Tests moving a randomly generated image.
- file_save_data in drupal/core/modules/file/file.module
- Saves a file to the specified destination and creates a database entry.
- file_save_upload in drupal/core/includes/file.inc
- Saves file uploads to a new location.
- FilterAPITest::setUp in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterAPITest.php
- Sets up a Drupal site for running functional and integration tests.
- FilterCrudTest::testTextFormatCrud in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterCrudTest.php
- Tests CRUD operations for text formats and filters.
- FilterEntityBundleTest::setUp in drupal/core/modules/views/lib/Drupal/views/Tests/Entity/FilterEntityBundleTest.php
- Sets up a Drupal site for running functional and integration tests.
- FilterHtmlImageSecureTest::setUp in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterHtmlImageSecureTest.php
- Sets up a Drupal site for running functional and integration tests.
- FilterSecurityTest::setUp in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterSecurityTest.php
- Sets up a Drupal site for running functional and integration tests.
- FilterSettingsTest::testFilterDefaults in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterSettingsTest.php
- Tests explicit and implicit default settings for filters.
- filter_admin_format_page in drupal/core/modules/filter/filter.admin.inc
- Page callback: Displays the text format add/edit form.
- FormTest::setUp in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
- Sets up a Drupal site for running functional and integration tests.
- form_test_form_user_register_form_alter in drupal/core/modules/system/tests/modules/form_test/form_test.module
- Implements hook_form_FORM_ID_alter() for the registration form.
- form_test_two_instances in drupal/core/modules/system/tests/modules/form_test/form_test.module
- Menu callback that returns two instances of the node form.
- ForumBlockTest::testActiveForumTopicsBlock in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumBlockTest.php
- Tests the "Active forum topics" block.
- ForumTest::doAdminTests in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
- Runs admin tests on the admin user.
- forum_enable in drupal/core/modules/forum/forum.install
- Implements hook_enable().
- forum_form_main in drupal/core/modules/forum/forum.admin.inc
- Page callback: Returns a form for creating a new forum or container.
- forum_form_submit in drupal/core/modules/forum/forum.admin.inc
- Form submission handler for forum_form_forum() and forum_form_container().
- forum_forum_load in drupal/core/modules/forum/forum.module
- Returns a tree of all forums for a given taxonomy term ID.
- GroupwiseMax::getTemporaryView in drupal/core/modules/views/lib/Drupal/views/Plugin/views/relationship/GroupwiseMax.php
- Helper function to create a pseudo view.
- HandlerAllTest::testHandlers in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerAllTest.php
- Tests most of the handlers.
- ImageAdminStylesTest::testConfigImport in drupal/core/modules/image/lib/Drupal/image/Tests/ImageAdminStylesTest.php
- Tests image style configuration import that does a delete.
- ImageAdminStylesTest::testStyleReplacement in drupal/core/modules/image/lib/Drupal/image/Tests/ImageAdminStylesTest.php
- Test deleting a style and choosing a replacement style.
- ImageDimensionsTest::testImageDimensions in drupal/core/modules/image/lib/Drupal/image/Tests/ImageDimensionsTest.php
- Test styled image dimensions cumulatively.
- ImageFieldDefaultImagesTest::testDefaultImages in drupal/core/modules/image/lib/Drupal/image/Tests/ImageFieldDefaultImagesTest.php
- Tests CRUD for fields and fields instances with default images.
- ImageItemTest::setUp in drupal/core/modules/image/lib/Drupal/image/Tests/ImageItemTest.php
- Set the default field storage backend for fields created during tests.
- ImageItemTest::testImageItem in drupal/core/modules/image/lib/Drupal/image/Tests/ImageItemTest.php
- Tests using entity fields of the image field type.
- ImageStylesPathAndUrlTest::setUp in drupal/core/modules/image/lib/Drupal/image/Tests/ImageStylesPathAndUrlTest.php
- Sets up a Drupal site for running functional and integration tests.
- ImageThemeFunctionTest::testImageFormatterTheme in drupal/core/modules/image/lib/Drupal/image/Tests/ImageThemeFunctionTest.php
- Tests usage of the image field formatters.
- ImageThemeFunctionTest::testImageStyleTheme in drupal/core/modules/image/lib/Drupal/image/Tests/ImageThemeFunctionTest.php
- Tests usage of the image style theme function.
- image_style_add_form_submit in drupal/core/modules/image/image.admin.inc
- Submit handler for adding a new image style.
- LinkEdit::render in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/LinkEdit.php
- Render the field.
- LinkItemTest::testLinkItem in drupal/core/modules/link/lib/Drupal/link/Tests/LinkItemTest.php
- Tests using entity fields of the link field type.
- LinksTest::createLinkHierarchy in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/LinksTest.php
- Create a simple hierarchy of links.
- LocaleUpdateTest::makePoFile in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php
- Creates a translation file and tests its timestamp.
- ManageFieldsTest::setUp in drupal/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php
- Sets up a Drupal site for running functional and integration tests.
- ManageFieldsTest::testLockedField in drupal/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php
- Tests that Field UI respects locked fields.
- MenuNodeTest::testMenuNodeFormWidget in drupal/core/modules/menu/lib/Drupal/menu/Tests/MenuNodeTest.php
- Test creating, editing, deleting menu links via node form widget.
- MenuRouterTest::testMenuLinkOptions in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php
- Test menu link 'options' storage and rendering.
- MenuTest::addCustomMenuCRUD in drupal/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php
- Add custom menu using CRUD functions.
- MenuTest::testMenuBundles in drupal/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php
- Tests menu link bundles.
- menu_edit_menu_submit in drupal/core/modules/menu/menu.admin.inc
- Submit function for adding or editing a custom menu.
- menu_enable in drupal/core/modules/menu/menu.module
- Implements hook_enable().
- menu_form_node_type_form_alter in drupal/core/modules/menu/menu.module
- Implements hook_form_FORM_ID_alter().
- menu_link_add in drupal/core/modules/menu/menu.admin.inc
- Menu callback: Provides the menu link submission form.
- menu_link_maintain in drupal/core/modules/menu_link/menu_link.module
- Inserts, updates, enables, disables, or deletes an uncustomized menu link.
- menu_menu_add in drupal/core/modules/menu/menu.admin.inc
- Page callback: Presents the menu creation form.
- menu_node_prepare in drupal/core/modules/menu/menu.module
- Implements hook_node_prepare().
- menu_node_submit in drupal/core/modules/menu/menu.module
- Implements hook_node_submit().
- menu_parent_options in drupal/core/modules/menu/menu.module
- Returns a list of menu links that are valid possible parents for the given
menu link.
- MetadataGeneratorTest::testEditorWithCustomMetadata in drupal/core/modules/edit/lib/Drupal/edit/Tests/MetadataGeneratorTest.php
- MetadataGeneratorTest::testSimpleEntityType in drupal/core/modules/edit/lib/Drupal/edit/Tests/MetadataGeneratorTest.php
- Tests a simple entity type, with two different simple fields.
- Name::render_link in drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Name.php
- NcsLastCommentName::render in drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NcsLastCommentName.php
- Render the field.
- NodeAccessPagerTest::testCommentPager in drupal/core/modules/node/lib/Drupal/node/Tests/NodeAccessPagerTest.php
- Tests the comment pager for nodes with multiple grants per realm.
- NodeConditionTest::testConditions in drupal/core/modules/node/lib/Drupal/node/Tests/Condition/NodeConditionTest.php
- Tests conditions.
- NodeNewComments::render_link in drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeNewComments.php
- NodeSaveTest::testDeterminingChanges in drupal/core/modules/node/lib/Drupal/node/Tests/NodeSaveTest.php
- Tests node presave and static node load cache.
- NodeSaveTest::testImport in drupal/core/modules/node/lib/Drupal/node/Tests/NodeSaveTest.php
- Checks whether custom node IDs are saved properly during an import operation.
- node_access in drupal/core/modules/node/node.module
- Access callback: Checks a user's permission for performing a node operation.
- NormalizeTest::testNormalize in drupal/core/modules/hal/lib/Drupal/hal/Tests/NormalizeTest.php
- Tests the normalize function.
- NumberItemTest::testNumberItem in drupal/core/modules/number/lib/Drupal/number/Tests/NumberItemTest.php
- Tests using entity fields of the number field type.
- OptionsDynamicValuesTest::setUp in drupal/core/modules/options/lib/Drupal/options/Tests/OptionsDynamicValuesTest.php
- Sets up a Drupal site for running functional and integration tests.
- OptionsFieldTest::testUpdateAllowedValues in drupal/core/modules/options/lib/Drupal/options/Tests/OptionsFieldTest.php
- Test that allowed values can be updated.
- OptionsFieldUnitTestBase::setUp in drupal/core/modules/options/lib/Drupal/options/Tests/OptionsFieldUnitTestBase.php
- Set the default field storage backend for fields created during tests.
- OptionsFormattersTest::testFormatter in drupal/core/modules/options/lib/Drupal/options/Tests/OptionsFormattersTest.php
- Tests the formatters.
- OptionsWidgetsTest::testCheckBoxes in drupal/core/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
- Tests the 'options_buttons' widget (multiple select).
- OptionsWidgetsTest::testOnOffCheckbox in drupal/core/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
- Tests the 'options_onoff' widget.
- OptionsWidgetsTest::testRadioButtons in drupal/core/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
- Tests the 'options_buttons' widget (single select).
- OptionsWidgetsTest::testSelectListMultiple in drupal/core/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
- Tests the 'options_select' widget (multiple select).
- OptionsWidgetsTest::testSelectListSingle in drupal/core/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
- Tests the 'options_select' widget (single select).
- PagePreviewTest::setUp in drupal/core/modules/node/lib/Drupal/node/Tests/PagePreviewTest.php
- Sets up a Drupal site for running functional and integration tests.
- PathTaxonomyTermTest::setUp in drupal/core/modules/path/lib/Drupal/path/Tests/PathTaxonomyTermTest.php
- Sets up a Drupal site for running functional and integration tests.
- PictureAdminUITest::setUp in drupal/core/modules/picture/lib/Drupal/picture/Tests/PictureAdminUITest.php
- Drupal\simpletest\WebTestBase\setUp().
- PictureFieldDisplayTest::setUp in drupal/core/modules/picture/lib/Drupal/picture/Tests/PictureFieldDisplayTest.php
- Drupal\simpletest\WebTestBase\setUp().
- PictureMapping::createDuplicate in drupal/core/modules/picture/lib/Drupal/picture/Plugin/Core/Entity/PictureMapping.php
- Implements \Drupal\Core\Entity\EntityInterface::createDuplicate().
- RelationshipJoinTestBase::setUpFixtures in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/RelationshipJoinTestBase.php
- Overrides \Drupal\views\Tests\ViewUnitTestBase::setUpFixtures().
- RESTTestBase::entityCreate in drupal/core/modules/rest/lib/Drupal/rest/Tests/RESTTestBase.php
- Creates entity objects based on their types.
- RowEntityTest::testEntityRow in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/RowEntityTest.php
- Tests the entity row handler.
- RowPluginTest::drupalCreateComment in drupal/core/modules/node/lib/Drupal/node/Tests/Views/RowPluginTest.php
- Helper function to create a random comment.
- SaveTest::testFileSave in drupal/core/modules/file/lib/Drupal/file/Tests/SaveTest.php
- SaveUploadTest::setUp in drupal/core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php
- Sets up a Drupal site for running functional and integration tests.
- SearchRankingTest::testHTMLRankings in drupal/core/modules/search/lib/Drupal/search/Tests/SearchRankingTest.php
- Test rankings of HTML tags.
- SelectComplexTest::testJoinSubquery in drupal/core/modules/system/lib/Drupal/system/Tests/Database/SelectComplexTest.php
- Tests that we can join on a query.
- ShapeItemTest::testShapeItem in drupal/core/modules/field/lib/Drupal/field/Tests/ShapeItemTest.php
- Tests using entity fields of the field field type.
- ShortcutTestBase::generateShortcutLink in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutTestBase.php
- Creates a generic shortcut link.
- ShortcutTestBase::generateShortcutSet in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutTestBase.php
- Creates a generic shortcut set.
- ShortcutTestBase::setUp in drupal/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutTestBase.php
- Sets up a Drupal site for running functional and integration tests.
- shortcut_admin_add_link in drupal/core/modules/shortcut/shortcut.admin.inc
- Adds a link to the end of a shortcut set, keeping within a prescribed limit.
- shortcut_set_add in drupal/core/modules/shortcut/shortcut.admin.inc
- Page callback: provides the shortcut set creation form.
- shortcut_set_switch_submit in drupal/core/modules/shortcut/shortcut.admin.inc
- Submit handler for shortcut_set_switch().
- standard_install in drupal/core/profiles/standard/standard.install
- Implements hook_install().
- system_get_module_admin_tasks in drupal/core/modules/system/system.module
- Generate a list of tasks offered by a specified module.
- Tables::addField in drupal/core/modules/field_sql_storage/lib/Drupal/field_sql_storage/Entity/Tables.php
- TaggedWithTest::setUp in drupal/core/modules/views/lib/Drupal/views/Tests/Wizard/TaggedWithTest.php
- Sets up a Drupal site for running functional and integration tests.
- Taxonomy::render_link in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/Taxonomy.php
- Render whatever the data is as a link to the taxonomy.
- TaxonomyAutocompleteWidget::massageFormValues in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/widget/TaxonomyAutocompleteWidget.php
- Implements Drupal\field\Plugin\Type\Widget\WidgetInterface::massageFormValues()
- TaxonomyTermReferenceItemTest::setUp in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TaxonomyTermReferenceItemTest.php
- Set the default field storage backend for fields created during tests.
- TaxonomyTermReferenceItemTest::testTaxonomyTermReferenceItem in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TaxonomyTermReferenceItemTest.php
- Tests using entity fields of the taxonomy term reference field type.
- TaxonomyTestBase::createTerm in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TaxonomyTestBase.php
- Returns a new term with random properties in vocabulary $vid.
- TaxonomyTestBase::createTerm in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/Views/TaxonomyTestBase.php
- Returns a new term with random properties in vocabulary $vid.
- TaxonomyTestBase::createVocabulary in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TaxonomyTestBase.php
- Returns a new vocabulary with random properties.
- TaxonomyTestBase::mockStandardInstall in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/Views/TaxonomyTestBase.php
- Provides a workaround for the inability to use the standard profile.
- taxonomy_term_add in drupal/core/modules/taxonomy/taxonomy.admin.inc
- Returns a rendered edit form to create a new term associated to the given vocabulary.
- taxonomy_vocabulary_add in drupal/core/modules/taxonomy/taxonomy.admin.inc
- Page callback: provides the vocabulary creation form.
- TelephoneItemTest::testTestItem in drupal/core/modules/telephone/lib/Drupal/telephone/Tests/TelephoneItemTest.php
- Tests using entity fields of the telephone field type.
- TermFieldTest::testTaxonomyTermFieldValidation in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermFieldTest.php
- Test term field validation.
- TermTest::testTaxonomyGetTermByName in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTest.php
- Test taxonomy_term_load_multiple_by_name().
- TermTranslationUITest::setupBundle in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTranslationUITest.php
- Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::setupBundle().
- TermTranslationUITest::testTranslateLinkVocabularyAdminPage in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTranslationUITest.php
- Tests translate link on vocabulary term list.
- TestItemTest::testTestItem in drupal/core/modules/field/lib/Drupal/field/Tests/TestItemTest.php
- Tests using entity fields of the field field type.
- TextFieldTest::testTextFieldValidation in drupal/core/modules/text/lib/Drupal/text/Tests/TextFieldTest.php
- Test text field validation.
- TextPlainUnitTest::createEntity in drupal/core/modules/text/lib/Drupal/text/Tests/Formatter/TextPlainUnitTest.php
- Creates an entity of type $this->entity_type and bundle $this->bundle.
- TrackerTestBase::setUp in drupal/core/modules/tracker/lib/Drupal/tracker/Tests/Views/TrackerTestBase.php
- Sets up a Drupal site for running functional and integration tests.
- TranslationTest::testTranslatableFieldSaveLoad in drupal/core/modules/field/lib/Drupal/field/Tests/TranslationTest.php
- Test translatable fields storage/retrieval.
- TypedDataTest::testGetAndSet in drupal/core/modules/system/lib/Drupal/system/Tests/TypedData/TypedDataTest.php
- Tests the basics around constructing and working with typed data objects.
- UnboundDisplay::generateDisplay in drupal/core/modules/layout/lib/Drupal/layout/Plugin/Core/Entity/UnboundDisplay.php
- Implements UnboundDisplayInterface::generateDisplay().
- UpdateTest::testPatchUpdate in drupal/core/modules/rest/lib/Drupal/rest/Tests/UpdateTest.php
- Tests several valid and invalid partial update requests on test entities.
- UrlAlterFunctionalTest::testUrlAlter in drupal/core/modules/system/lib/Drupal/system/Tests/Path/UrlAlterFunctionalTest.php
- Test that URL altering works and that it occurs in the correct order.
- UserEntityCallbacksTest::setUp in drupal/core/modules/user/lib/Drupal/user/Tests/UserEntityCallbacksTest.php
- Sets up a Drupal site for running functional and integration tests.
- Username::render_link in drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Username.php
- UserSaveTest::testUserImport in drupal/core/modules/user/lib/Drupal/user/Tests/UserSaveTest.php
- Test creating a user with arbitrary uid.
- UserSignatureTest::setUp in drupal/core/modules/user/lib/Drupal/user/Tests/UserSignatureTest.php
- Sets up a Drupal site for running functional and integration tests.
- user_build_filter_query in drupal/core/modules/user/user.module
- Extends a query object for user administration filters based on session.
- user_user_role_insert in drupal/core/modules/user/user.module
- Implements hook_user_role_insert().
- ValidatorTest::setUp in drupal/core/modules/file/lib/Drupal/file/Tests/ValidatorTest.php
- Sets up a Drupal site for running functional and integration tests.
- ValidatorTest::testFileValidateExtensions in drupal/core/modules/file/lib/Drupal/file/Tests/ValidatorTest.php
- Test the file_validate_extensions() function.
- ValidatorTest::testFileValidateNameLength in drupal/core/modules/file/lib/Drupal/file/Tests/ValidatorTest.php
- This will ensure the filename length is valid.
- ValidatorTest::testFileValidateSize in drupal/core/modules/file/lib/Drupal/file/Tests/ValidatorTest.php
- Test file_validate_size().
- WebTestBase::drupalCreateNode in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Creates a node based on default settings.
- WebTestBase::drupalCreateRole in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Internal helper function; Create a role with specified permissions.
- WebTestBase::drupalCreateUser in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Create a user with a given set of permissions.
- WebTestBase::drupalPlaceBlock in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Creates a block instance based on default settings.
- WizardPluginBase::instantiateView in drupal/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
- Instantiates a view object from form values.
- _book_update_outline in drupal/core/modules/book/book.module
- Handles additions and updates to the book outline.
- _breakpoint_group_create_or_load in drupal/core/modules/breakpoint/breakpoint.module
- Helper function to easily create/load a breakpoint group.
- _field_create_entity_from_ids in drupal/core/modules/field/field.module
- Assembles a partial entity structure with initial IDs.
- _shortcut_link_form_elements in drupal/core/modules/shortcut/shortcut.admin.inc
- Helper function for building a form for adding or editing shortcut links.