Search for create

  1. Search 7.x for create
  2. Search 8.9.x for create
  3. Search 10.3.x for create
  4. Search 11.x for create
  5. Other projects
Title Object type File name Summary
OverridesSectionStorage::create function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Creates an instance of the plugin.
OverviewTerms::create function core/modules/taxonomy/src/Form/OverviewTerms.php Instantiates a new instance of this class.
Page::create function core/modules/views/src/Plugin/views/display/Page.php Creates an instance of the plugin.
PagerManager::createPager function core/lib/Drupal/Core/Pager/PagerManager.php Initializes a pager.
PagerManagerInterface::createPager function core/lib/Drupal/Core/Pager/PagerManagerInterface.php Initializes a pager.
PagerTest::createTranslation function core/modules/views/tests/src/Functional/Plugin/PagerTest.php Creates single translation for source string.
PagerTest::createViewAtPath function core/modules/views/tests/src/Functional/Wizard/PagerTest.php Create a simple View of nodes at a given path.
PagerTestController::create function core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php Instantiates a new instance of this class.
PathAliasConstraintValidator::create function core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php Instantiates a new instance of this class.
PathAliasListBuilder::createInstance function core/modules/path/src/PathAliasListBuilder.php Instantiates a new instance of this entity handler.
PathAliasResourceTestBase::$firstCreatedEntityId property core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php The entity ID for the first created entity in testPost().
PathAliasResourceTestBase::$secondCreatedEntityId property core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php The entity ID for the second created entity in testPost().
PathAliasResourceTestBase::createEntity function core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php Creates the entity to be tested.
PathAliasStorage::createWithSampleValues function core/modules/path_alias/src/PathAliasStorage.php Creates an entity with sample field values.
PathAliasTest::createEntity function core/modules/jsonapi/tests/src/Functional/PathAliasTest.php Creates the entity to be tested.
PathAliasTestTrait::createPathAlias function core/tests/Drupal/Tests/Traits/Core/PathAliasTestTrait.php Creates a new path alias.
PathPluginBase::create function core/modules/views/src/Plugin/views/display/PathPluginBase.php Creates an instance of the plugin.
path_entity_translation_create function core/modules/path/path.module Implements hook_entity_translation_create().
PerformanceForm::create function core/modules/system/src/Form/PerformanceForm.php Instantiates a new instance of this class.
Permission::create function core/modules/user/src/Plugin/views/access/Permission.php Creates an instance of the plugin.
Permissions::create function core/modules/user/src/Plugin/views/field/Permissions.php Creates an instance of the plugin.
Permissions::create function core/modules/user/src/Plugin/views/filter/Permissions.php Creates an instance of the plugin.
PhpArrayContainer::createService function core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php Creates a service from a service definition.
PhpBackendTest::createCacheBackend function core/tests/Drupal/KernelTests/Core/Cache/PhpBackendTest.php Creates a new instance of MemoryBackend.
PhpMailTest::createPhpMailInstance function core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php Creates a mocked PhpMail object.
PhpUnitTestRunner::create function core/lib/Drupal/Core/Test/PhpUnitTestRunner.php Instantiates a new instance of this class.
PirateDayCacheabilityMetadataConfigOverride::createConfigObject function core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php Creates a configuration object for use during install and synchronization.
PlaceholderGenerator::canCreatePlaceholder function core/lib/Drupal/Core/Render/PlaceholderGenerator.php Analyzes whether the given render array can be placeholdered.
PlaceholderGenerator::createPlaceholder function core/lib/Drupal/Core/Render/PlaceholderGenerator.php Turns the given element into a placeholder.
PlaceholderGeneratorInterface::canCreatePlaceholder function core/lib/Drupal/Core/Render/PlaceholderGeneratorInterface.php Analyzes whether the given render array can be placeholdered.
PlaceholderGeneratorInterface::createPlaceholder function core/lib/Drupal/Core/Render/PlaceholderGeneratorInterface.php Turns the given element into a placeholder.
PlaceholderGeneratorTest::providerCreatePlaceholderGeneratesValidHtmlMarkup function core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php
PlaceholderGeneratorTest::testCreatePlaceholderGeneratesValidHtmlMarkup function core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php @covers ::createPlaceholder
@dataProvider providerCreatePlaceholderGeneratesValidHtmlMarkup
PlaceholderingRenderCache::createPlaceholderAndRemember function core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php Create a placeholder for a renderable array and remember in a static cache.
PluginBase::create function core/modules/views/src/Plugin/views/PluginBase.php Creates an instance of the plugin.
PluginFormFactory::createInstance function core/lib/Drupal/Core/Plugin/PluginFormFactory.php Creates a new form instance.
PluginFormFactoryInterface::createInstance function core/lib/Drupal/Core/Plugin/PluginFormFactoryInterface.php Creates a new form instance.
PluginFormFactoryTest::testCreateInstance function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
PluginFormFactoryTest::testCreateInstanceDefaultFallback function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
PluginFormFactoryTest::testCreateInstanceDefinitionException function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
PluginFormFactoryTest::testCreateInstanceInvalidException function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
PluginFormFactoryTest::testCreateInstancePluginAware function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
PluginFormFactoryTest::testCreateInstanceUsingPlugin function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
PluginFormFactoryTest::testCreateInstanceUsingPluginWithSlashes function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
PluginManagerBase::createInstance function core/lib/Drupal/Component/Plugin/PluginManagerBase.php
PluginManagerBaseTest::createInstanceCallback function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php A callback method for mocking FactoryInterface objects.
PluginManagerBaseTest::testCreateInstance function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php Tests createInstance() with no fallback methods.
PluginManagerBaseTest::testCreateInstanceFallback function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php Tests createInstance() with a fallback method.
PluginManagerDependentValidatorTrait::create function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php
PluralTranslatableMarkup::createFromTranslatedString function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Constructs a new class instance from already translated markup.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.