Search for add

  1. Search 3.x for add
  2. Search 8.x-1.x for add
  3. Search 7.x-1.x for add
  4. Search 6.x-1.x for add
  5. Other projects
Title Object type File name Summary
AddClass class modules/testing_example/src/AddClass.php A class with features to show how to do unit testing.
AddClass class modules/phpunit_example/src/AddClass.php A class with features to show how to do unit testing.
AddClass.php file modules/phpunit_example/src/AddClass.php
AddClass.php file modules/testing_example/src/AddClass.php
AddClass::add function modules/testing_example/src/AddClass.php A simple addition method with validity checking.
AddClass::add function modules/phpunit_example/src/AddClass.php A simple addition method with validity checking.
AddClassTest class modules/testing_example/tests/src/Unit/AddClassTest.php AddClass units tests.
AddClassTest class modules/phpunit_example/tests/src/Unit/AddClassTest.php AddClass units tests.
AddClassTest.php file modules/phpunit_example/tests/src/Unit/AddClassTest.php
AddClassTest.php file modules/testing_example/tests/src/Unit/AddClassTest.php
AddClassTest::addBadDataProvider function modules/testing_example/tests/src/Unit/AddClassTest.php Data provider for testAddWithBadDataProvider().
AddClassTest::addBadDataProvider function modules/phpunit_example/tests/src/Unit/AddClassTest.php Data provider for testAddWithBadDataProvider().
AddClassTest::addDataProvider function modules/testing_example/tests/src/Unit/AddClassTest.php Data provider for testAddWithDataProvider().
AddClassTest::addDataProvider function modules/phpunit_example/tests/src/Unit/AddClassTest.php Data provider for testAddWithDataProvider().
AddClassTest::testAdd function modules/testing_example/tests/src/Unit/AddClassTest.php Very simple test of AddClass::add().
AddClassTest::testAdd function modules/phpunit_example/tests/src/Unit/AddClassTest.php Very simple test of AddClass::add().
AddClassTest::testAddWithBadDataProvider function modules/testing_example/tests/src/Unit/AddClassTest.php Test AddClass::add() with data that should throw an exception.
AddClassTest::testAddWithBadDataProvider function modules/phpunit_example/tests/src/Unit/AddClassTest.php Test AddClass::add() with data that should throw an exception.
AddClassTest::testAddWithDataProvider function modules/phpunit_example/tests/src/Unit/AddClassTest.php Test AddClass::add() with a data provider method.
AddClassTest::testAddWithDataProvider function modules/testing_example/tests/src/Unit/AddClassTest.php Test AddClass::add() with a data provider method.
AjaxAddMore class modules/form_api_example/src/Form/AjaxAddMore.php Implements the ajax demo form controller.
AjaxAddMore.php file modules/form_api_example/src/Form/AjaxAddMore.php
AjaxAddMore::addMoreCallback function modules/form_api_example/src/Form/AjaxAddMore.php Callback for both ajax-enabled buttons.
AjaxAddMore::addOne function modules/form_api_example/src/Form/AjaxAddMore.php Submit handler for the "add-one-more" button.
AjaxAddMore::buildForm function modules/form_api_example/src/Form/AjaxAddMore.php Form with 'add more' and 'remove' buttons.
AjaxAddMore::getFormId function modules/form_api_example/src/Form/AjaxAddMore.php Returns a unique string identifying the form.
AjaxAddMore::removeCallback function modules/form_api_example/src/Form/AjaxAddMore.php Submit handler for the "remove one" button.
AjaxAddMore::submitForm function modules/form_api_example/src/Form/AjaxAddMore.php Final submit handler.
AjaxAddRemoveElements class modules/form_api_example/src/Form/AjaxAddRemoveElements.php Example ajax add remove buttons.
AjaxAddRemoveElements.php file modules/form_api_example/src/Form/AjaxAddRemoveElements.php
AjaxAddRemoveElements::addMoreCallback function modules/form_api_example/src/Form/AjaxAddRemoveElements.php Callback for both ajax-enabled buttons.
AjaxAddRemoveElements::addOne function modules/form_api_example/src/Form/AjaxAddRemoveElements.php Submit handler for the "add-one-more" button.
AjaxAddRemoveElements::buildForm function modules/form_api_example/src/Form/AjaxAddRemoveElements.php Form with 'add more' and 'remove' buttons.
AjaxAddRemoveElements::getFormId function modules/form_api_example/src/Form/AjaxAddRemoveElements.php Required by FormBase.
AjaxAddRemoveElements::removeCallback function modules/form_api_example/src/Form/AjaxAddRemoveElements.php Submit handler for the "remove" button.
AjaxAddRemoveElements::submitForm function modules/form_api_example/src/Form/AjaxAddRemoveElements.php Required by FormBase.
AjaxAddRemoveElements::validateForm function modules/form_api_example/src/Form/AjaxAddRemoveElements.php Required by FormBase.
ContentEntityExampleTest::testAddFields function modules/content_entity_example/tests/src/Functional/ContentEntityExampleTest.php Test add new fields to the contact entity.
ContrivedController::add function modules/testing_example/src/Controller/ContrivedController.php Add two numbers.
ContrivedController::displayAddedNumbers function modules/testing_example/src/Controller/ContrivedController.php A controller method which displays a sum in terms of hands.
ContrivedControllerTest::provideTestAdd function modules/testing_example/tests/src/Unit/Controller/ContrivedControllerTest.php Data provider for testAdd().
ContrivedControllerTest::testAdd function modules/testing_example/tests/src/Unit/Controller/ContrivedControllerTest.php Test add.
CronExampleForm::addItems function modules/cron_example/src/Form/CronExampleForm.php Add the items to the queue when signaled by the form.
DbtngExampleAddForm class modules/dbtng_example/src/Form/DbtngExampleAddForm.php Form to add a database entry, with all the interesting fields.
DbtngExampleAddForm.php file modules/dbtng_example/src/Form/DbtngExampleAddForm.php
DbtngExampleAddForm::$currentUser property modules/dbtng_example/src/Form/DbtngExampleAddForm.php The current user.
DbtngExampleAddForm::$repository property modules/dbtng_example/src/Form/DbtngExampleAddForm.php Our database repository service.
DbtngExampleAddForm::buildForm function modules/dbtng_example/src/Form/DbtngExampleAddForm.php Form constructor.
DbtngExampleAddForm::create function modules/dbtng_example/src/Form/DbtngExampleAddForm.php We'll use the ContainerInjectionInterface pattern here to inject the
current user and also get the string_translation service.
DbtngExampleAddForm::getFormId function modules/dbtng_example/src/Form/DbtngExampleAddForm.php Returns a unique string identifying the form.