Search for create

  1. Search 7.x for create
  2. Search 9.5.x for create
  3. Search 8.9.x for create
  4. Search 10.3.x for create
  5. Other projects
Title Object type File name Summary
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 the implementing class using autowiring.
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.
PathHooks::entityTranslationCreate function core/modules/path/src/Hook/PathHooks.php Implements hook_entity_translation_create().
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.
PermissionsPerBundle::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/PermissionsPerBundle.php Creates an instance of the plugin.
PermissionsPerBundleDeriver::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/PermissionsPerBundleDeriver.php Creates a new class instance.
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
PlaceBlock::create function core/modules/block/src/Plugin/ConfigAction/PlaceBlock.php Creates an instance of the plugin.
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.
PlaceholderGenerator::createPlaceholderTag function core/lib/Drupal/Core/Render/PlaceholderGenerator.php Generates a placeholder HTML tag.
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.
PlaceholderGeneratorInterface::createPlaceholderTag function core/lib/Drupal/Core/Render/PlaceholderGeneratorInterface.php Generates a placeholder HTML tag.
PlaceholderGeneratorTest::providerCreatePlaceholderGeneratesValidHtmlMarkup function core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php
PlaceholderGeneratorTest::testCreatePlaceholderGeneratesValidHtmlMarkup function core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php Ensure that the generated placeholder markup is valid.
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.
PluginExistsConstraint::create function core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraint.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.

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