Search for add

  1. Search 3.x for add
  2. Search 7.x-1.x for add
  3. Search 6.x-1.x for add
  4. Search 4.0.x for add
  5. Other projects
Title Object type File name Summary
AddClass class phpunit_example/src/AddClass.php A class with features to show how to do unit testing.
AddClass.php file phpunit_example/src/AddClass.php
AddClass::add function phpunit_example/src/AddClass.php A simple addition method with validity checking.
AddClassTest class phpunit_example/tests/src/Unit/AddClassTest.php AddClass units tests.
AddClassTest.php file phpunit_example/tests/src/Unit/AddClassTest.php
AddClassTest::addBadDataProvider function phpunit_example/tests/src/Unit/AddClassTest.php Data provider for testAddWithBadDataProvider().
AddClassTest::addDataProvider function phpunit_example/tests/src/Unit/AddClassTest.php Data provider for testAddWithDataProvider().
AddClassTest::testAdd function phpunit_example/tests/src/Unit/AddClassTest.php Very simple test of AddClass::add().
AddClassTest::testAddWithBadDataProvider function phpunit_example/tests/src/Unit/AddClassTest.php Test AddClass::add() with data that should throw an exception.
AddClassTest::testAddWithDataProvider function phpunit_example/tests/src/Unit/AddClassTest.php Test AddClass::add() with a data provider method.
AjaxAddMore class form_api_example/src/Form/AjaxAddMore.php Implements the ajax demo form controller.
AjaxAddMore.php file form_api_example/src/Form/AjaxAddMore.php
AjaxAddMore::addmoreCallback function form_api_example/src/Form/AjaxAddMore.php Callback for both ajax-enabled buttons.
AjaxAddMore::addOne function form_api_example/src/Form/AjaxAddMore.php Submit handler for the "add-one-more" button.
AjaxAddMore::buildForm function form_api_example/src/Form/AjaxAddMore.php Form with 'add more' and 'remove' buttons.
AjaxAddMore::getFormId function form_api_example/src/Form/AjaxAddMore.php
AjaxAddMore::removeCallback function form_api_example/src/Form/AjaxAddMore.php Submit handler for the "remove one" button.
AjaxAddMore::submitForm function form_api_example/src/Form/AjaxAddMore.php Final submit handler.
ContentEntityExampleTest::testAddFields function content_entity_example/tests/src/Functional/ContentEntityExampleTest.php Test add new fields to the contact entity.
ContrivedController::add function testing_example/src/Controller/ContrivedController.php Add two numbers.
ContrivedController::displayAddedNumbers function testing_example/src/Controller/ContrivedController.php A controller method which displays a sum in terms of hands.
ContrivedControllerTest::provideTestAdd function testing_example/tests/src/Unit/Controller/ContrivedControllerTest.php Data provider for testAdd().
ContrivedControllerTest::testAdd function testing_example/tests/src/Unit/Controller/ContrivedControllerTest.php Test add.
CronExampleForm::addItems function cron_example/src/Form/CronExampleForm.php Add the items to the queue when signaled by the form.
DbtngExampleAddForm class dbtng_example/src/Form/DbtngExampleAddForm.php Form to add a database entry, with all the interesting fields.
DbtngExampleAddForm.php file dbtng_example/src/Form/DbtngExampleAddForm.php
DbtngExampleAddForm::$currentUser property dbtng_example/src/Form/DbtngExampleAddForm.php The current user.
DbtngExampleAddForm::$repository property dbtng_example/src/Form/DbtngExampleAddForm.php Our database repository service.
DbtngExampleAddForm::buildForm function dbtng_example/src/Form/DbtngExampleAddForm.php
DbtngExampleAddForm::create function 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 dbtng_example/src/Form/DbtngExampleAddForm.php
DbtngExampleAddForm::submitForm function dbtng_example/src/Form/DbtngExampleAddForm.php
DbtngExampleAddForm::validateForm function dbtng_example/src/Form/DbtngExampleAddForm.php
DbtngExampleAddForm::__construct function dbtng_example/src/Form/DbtngExampleAddForm.php Construct the new form object.
DisplayManager::addDisplayableItem function phpunit_example/src/DisplayManager.php Add a displayable item.
FapiExampleTest::doTestAjaxAddMore function form_api_example/tests/src/Functional/FapiExampleTest.php Test the Ajax Add More demo form.
FrontPageLinkDependenciesTest::testAddContentMenuItem function testing_example/tests/src/Functional/FrontPageLinkDependenciesTest.php Tests for the existence of a default menu item on the home page.
FrontPageLinkTest::testAddContentMenuItem function testing_example/tests/src/Functional/FrontPageLinkTest.php Tests for the existence of a default menu item on the home page.
ProtectedPrivates::privateAdd function phpunit_example/src/ProtectedPrivates.php A simple addition method with validity checking.
ProtectedPrivates::protectedAdd function phpunit_example/src/ProtectedPrivates.php A simple addition method with validity checking.
ProtectedPrivatesSubclass::subclassProtectedAdd function phpunit_example/tests/src/Unit/Subclasses/ProtectedPrivatesSubclass.php A stub class so we can access a protected method.
ProtectedPrivatesTest::addBadDataProvider function phpunit_example/tests/src/Unit/ProtectedPrivatesTest.php Bad data provider.
ProtectedPrivatesTest::addDataProvider function phpunit_example/tests/src/Unit/ProtectedPrivatesTest.php Good data provider.
ProtectedPrivatesTest::testPrivateAdd function phpunit_example/tests/src/Unit/ProtectedPrivatesTest.php Test ProtectedPrivate::privateAdd().
ProtectedPrivatesTest::testPrivateAddBadData function phpunit_example/tests/src/Unit/ProtectedPrivatesTest.php Test ProtectedPrivate::privateAdd() with bad data.
ProtectedPrivatesTest::testProtectedAdd function phpunit_example/tests/src/Unit/ProtectedPrivatesTest.php Test ProtectedPrivates::protectedAdd() using a stub class.
ProtectedPrivatesTest::testProtectedAddBadData function phpunit_example/tests/src/Unit/ProtectedPrivatesTest.php Test ProtectedPrivates::protectedAdd() with bad data using a stub class.
QueueExampleForm::submitAddQueueItem function queue_example/src/Forms/QueueExampleForm.php Submit function for the insert-into-queue button.
render-example-add-div.html.twig file render_example/templates/render-example-add-div.html.twig Default theme implementation for render_example_add_div.
RenderExampleController::postRenderAddPrefix function render_example/src/Controller/RenderExampleController.php Example '#post_render' callback function.