Commit Graph

324 Commits (7b83db3ca0200441204a32d906b05f46796926e5)

Author SHA1 Message Date
webchick c7013bdaee Issue #2313931 by Berdir: Merge ['controller'] with ['build_info']['callback_object'] and add a method for it. 2014-08-25 22:24:55 -07:00
webchick 6a6e601d4a Issue #2309323 by Berdir, tim.plunkett: Allow #submit and #validate to be specified as methods of the form object. 2014-08-23 14:18:18 -07:00
Alex Pott 629ebca291 Issue #1976158 by Berdir | msonnabaum: Rename entity storage/list/form/render "controllers" to handlers. 2014-08-22 12:59:25 +01:00
Alex Pott 0463b81a08 Issue #2322889 by sun: Fixed Various setUp() and tearDown() methods are not protected. 2014-08-18 16:50:50 +01:00
Alex Pott f1713d5754 Issue #2309187 by andypost | Crell: Fixed double-link-entry between Entity and Entity Type classes. 2014-08-18 16:30:22 +01:00
Alex Pott 093ea79442 Issue #2285083 by crowdcg, andypost, larowlan: Rename contact category to contact form. 2014-08-16 12:57:44 +01:00
Alex Pott b428eda79c Issue #2291829 by kgoel, dawehner | Crell: Standardize user route names. 2014-08-13 20:39:40 -07:00
Alex Pott 4ae3ee3a75 Issue #2305707 by cilefen, pwolanin, dawehner, LinL: MenuLinkContent disabled field should be renamed to enabled and use positive logic. 2014-08-12 12:32:08 -07:00
Alex Pott 8fe81428b7 Issue #2315237 by andypost, daggerhart | yched: Rename FieldDefinition to BaseFieldDefinition. 2014-08-10 15:43:04 -05:00
Alex Pott 8196034a57 Issue #2316533 by tim.plunkett: Add getValue/setValue/hasValue and isValueEmpty to FormState. 2014-08-08 11:25:54 -05:00
Alex Pott 258856aee9 Issue #2154435 by andypost, Berdir, mparker17: Rename EntityAccessController to EntityAccessControlHandler. 2014-08-07 23:27:28 +01:00
Alex Pott 9eac446013 Issue #1676910 by cs_shadow, penyaskito, lokeoke | xjm: Rename randomName() to randomMachineName(). 2014-08-06 09:50:23 +01:00
Alex Pott 5afbef9591 Issue #749748 by Bès, penyaskito, sun, hefox, Dave Reid, mavimo | c960657: Fixed Contact, register and comment forms do not prefill with user info from browser. 2014-08-06 09:23:17 +01:00
Alex Pott 627a719a7f Issue #2189661 by tim.plunkett: Replace $form_state['redirect_route'] with setRedirect(). 2014-08-06 09:05:02 +01:00
Alex Pott 8f04acbb77 Issue #2309221 by mikey_p: Drupal\Core\Datetime\Date should be renamed to DateFormatter. 2014-08-05 11:39:21 +01:00
webchick de764ba9a1 Issue #2314865 by Crell: Standardize contact entity route names. 2014-08-04 10:03:12 -07:00
Alex Pott 537457b512 Issue #2308821 by tim.plunkett: Replace FormErrorInterface with $form_state->setErrorByName() and $form_state->setError(). 2014-08-04 11:19:36 +01:00
Nathaniel Catchpole a91ef2b853 Issue #2272481 by herom, ParisLiakos, tim.plunkett: Remove usages of watchdog() from forms, plugins and controllers. 2014-07-31 13:46:06 +01:00
Dries fc5e111aca Issue #2225353 by tim.plunkett: Convert to an object and provide methods like setError(). 2014-07-30 20:50:42 -04:00
Alex Pott 4a45c16b0a Issue #2310705 by lokeoke, tim.plunkett, dawehner: AccessManager should introduce constants for 'ANY' / 'ALL'. 2014-07-29 09:48:31 +01:00
Alex Pott 59c3c9757c Issue #2305023 by dawehner: Fixed Rename getCancelRoute to getCancelUrl. 2014-07-25 15:44:31 +01:00
Alex Pott 5783e08f16 Issue #2149197 by penyaskito, mikey_p, vijaycs85, herom: Replace format_interval with \Drupal::service('date')->formatInterval(). 2014-07-24 15:54:28 +01:00
Nathaniel Catchpole a57630c83d Issue #2287727 by yched, swentel, alexpott: Rename Field[instance]Config classes and entity types (again). 2014-07-18 19:56:27 +01:00
Alex Pott b560f348bd Issue #2303605 by cilefen: Rename *.menu_links.yml to *.links.menu.yml files to improve DX. 2014-07-16 23:39:40 +01:00
Alex Pott 40fbf6b427 Issue #2072897 by jayeshanandani, marcingy, herom, er.pushpinderrana, inket: Modernize contact.module forms. 2014-07-16 23:33:33 +01:00
Alex Pott f2b6aa7a75 Issue #2291137 by cilefen | webchick: Rename various *links.yml files to improve DX. 2014-07-15 12:29:14 +01:00
Alex Pott 1793df6d9d Issue #2289063 by larowlan, andypost | Berdir: Change contact message entity to behave more like a normal entity. 2014-07-15 09:27:36 +01:00
Alex Pott 2093f3465b Issue #2115631 by andypost, socketwench: Fixed CategoryFormController::form() should not define form actions. 2014-07-15 00:15:16 +01:00
Alex Pott 158863a08c Issue #1856562 by andypost | sun: Convert "Subject" and "Message" into Message base fields. 2014-07-13 09:16:47 +01:00
webchick 686b47cd0b Issue #2061977 by InternetDevels, kim.pepper, ianthomas_uk, herom, rhm50, naveenvalecha, andypost, mandar.harkare, sergeypavlenko, sidharthap, SIz, tkuldeep17: Replace user_access() calls with ->hasPermission() in all core modules except user. 2014-07-11 23:55:56 -07:00
webchick a07a4918b3 Revert "Issue #2061977 by InternetDevels, kim.pepper, ianthomas_uk, herom: Replace user_access() calls with ->hasPermission() in all core modules except user."
Fixing commit credit.

This reverts commit 25afa8100a.
2014-07-11 23:54:55 -07:00
webchick 25afa8100a Issue #2061977 by InternetDevels, kim.pepper, ianthomas_uk, herom: Replace user_access() calls with ->hasPermission() in all core modules except user. 2014-07-11 22:41:12 -07:00
Alex Pott 1a53cd14ed Issue #2030743 by yingtho, runeasgar, marcingy, YesCT, damiankloip, larowlan, typhonius, dman, areke, Désiré: Improve tests for user form alters in contact module. 2014-07-11 14:16:29 +01:00
webchick 30c2afed20 Issue #697760 by sun: Replace getInfo() in tests with native phpDoc + annotations (following PHPUnit). 2014-07-10 20:50:37 -07:00
Alex Pott c072353df4 Issue #2282161 by Crell: Split off link/url generation trait. 2014-07-07 14:52:01 +01:00
webchick 94e0188a10 Issue #2294129 by xjm, tim.plunkett: Switch hook_help() to use RouteMatch instead of Request. 2014-06-29 20:33:08 -07:00
Nathaniel Catchpole 0c33183a9e Issue #2256679 by alexpott, tim.plunkett: Fixed Use config schema to determine which config entity properties to export regardless of whether they are public or protected. 2014-06-14 10:03:25 +01:00
webchick b1b3b2b886 Issue #2275877 by Mixologic, duellj, Les Lim, Xano, David Strauss: Replace master/slave terminology with primary/replica. 2014-06-13 19:31:56 -07:00
webchick 49a900460d Issue #2246665 by jaredsmith, martin107, YesCT, filijonka, tstoeckler: Typehint with Drupal\Core\Language\LanguageInterface instead Drupal\Core\Language\Language. 2014-06-10 09:53:32 -07:00
webchick d0107d496b Issue #950534 by mparker17, mgifford, Mixologic, jbloomfield, erinclerico, theMusician, wmostrey | zirvap: [policy] Consistently use email instead of e-mail in Drupal. 2014-06-09 14:47:53 -07:00
Alex Pott 22fc66d5e4 Issue #2277941 by yched: Allow injecting an arbitrary FieldConfig when building a FieldInstanceConfig. 2014-06-09 09:41:31 -05:00
Alex Pott 7a98471c44 Issue #2273631 by vijaycs85: Unify config entity schemas with a base schema type. 2014-05-31 06:55:13 -05:00
webchick d0d3e53361 Issue #2247991 by xjm, typhonius, donquixote: [May 27] Move all module code to PSR-4. 2014-05-27 19:43:20 -07:00
webchick 783bc94834 Issue #2226871 by tim.plunkett: ConfirmFormInterface::getCancelRoute() should always return Drupal\Core\Url. 2014-05-20 14:48:51 -07:00
Nathaniel Catchpole c972b3ee9d Issue #2190313 by pfrenssen, Berdir, amateescu, ianthomas_uk: Add $EntityType::load() and loadMultiple() to simplify loading entities. 2014-05-20 10:29:40 +01:00
Dries 809b361f20 Issue #2222719 by effulgentsia, tim.plunkett, xjm, dawehner: Use parameter matching via reflection for access checks instead of pulling variables from request attributes. 2014-05-16 12:45:50 -04:00
Alex Pott 82ecfadfbf Issue #2261401 by Berdir: Automatically provide bundle info/list based on bundle_of annotation. 2014-05-15 14:01:36 -05:00
Nathaniel Catchpole 177b86ec32 Issue #2261369 by Berdir: Introduce a common config entity base class for all bundle config entity types. 2014-05-14 21:20:40 +01:00
Nathaniel Catchpole bf3ba52fa0 Issue #2209337 by tstoeckler: Remove hidden property from test extensions. 2014-05-13 17:55:52 +01:00
webchick eef067b5a5 Issue #2183113 by jhodgdon, effulgentsia, tim.plunkett, herom, larowlan: Update hook_help signature to use route_name instead of path. 2014-05-06 19:04:53 -07:00
Dries 99b367da46 Issue #2099131 by jessebeach, Wim Leers, catch, Berdir, benjifisher, martin107, andypost: Use #pre_render pattern for entity render caching. 2014-05-02 17:43:59 -04:00
Nathaniel Catchpole 5c2dc50b20 Issue #2084323 by Berdir, sandipmkhairnar, Xano, Jalandhar: EntityForm::actions() adds 'delete' without checking access. 2014-04-30 11:47:01 +01:00
Alex Pott def57073bc Issue #2239065 by tim.plunkett | webchick: Overridden config bleeding through to configuration forms. 2014-04-30 08:00:07 +01:00
Alex Pott c79ac2f741 Issue #2238077 by Berdir, alexpott, tim.plunkett: Rename EntityFormController to EntityForm. 2014-04-26 00:12:39 +01:00
Dries 82f25bf143 Issue #2168321 by longwave, martin107: Several files have incorrect indentation. 2014-04-24 15:06:35 +02:00
Nathaniel Catchpole 9826e2478c Issue #2244775 by bdone: Declare a maximum length for contact category machine name. 2014-04-23 12:56:53 +01:00
webchick f0bed14de3 Issue #2233787 by alexpott, xjm | tim.plunkett: Move default configuration into extension/config/install to clarify its purpose. 2014-04-16 15:00:30 -07:00
Alex Pott 7ad0c57207 Issue #2182239 by Berdir, andypost: Improve ContentEntityBase::id() for better DX. 2014-04-16 10:11:41 +01:00
Alex Pott 562addafa0 Issue #2231495 by ACF, andrei.dincu: Array to string conversion error when trying to add a new user. 2014-04-16 00:41:14 +01:00
Alex Pott 1c11d16419 Issue #2223611 by cs_shadow, ACF, dman, visabhishek, vintorezxxi: ContactFormController passed user name field list object to watchdog. 2014-04-12 14:50:12 -04:00
webchick fc6b814e02 Issue #2170775 by tim.plunkett, martin107, Xano: Remove array typehint from . 2014-04-08 13:56:43 -07:00
Alex Pott 8d98947271 Issue #1957152 by brantwynn: Replace calls to the flood service with Drupal::flood(). 2014-04-06 21:34:23 +01:00
Nathaniel Catchpole ae702dc56d Issue #1808248 by alexpott, beejeebus, tayzlor, Nitesh Sethia: Add a separate module install/uninstall step to the config import process. 2014-04-04 14:49:13 +01:00
webchick 40f818bbe6 Issue #2221755 by grom358, ianthomas_uk: Remove uses of deprecated Element functions. 2014-03-31 10:37:55 -07:00
webchick be83ed2bbc Issue #2166915 by ianthomas_uk, sun | plach: Remove uses of deprecated language functions in tests and procedural code. 2014-03-31 10:29:01 -07:00
webchick 4ac79a1366 Issue #2226903 by pwolanin, dawehner, tvn, martin107, jessebeach: Step 1: Move static menu links to yml files. 2014-03-28 16:27:34 -07:00
webchick 4a8bbfbb73 Issue #2215961 by tim.plunkett, Berdir: Entity::urlInfo() should return \Drupal\Core\Url. 2014-03-28 16:07:00 -07:00
Alex Pott fee6ae0e0f Issue #2225629 by Xano: Move hook_field_extra_fields() to the entity API. 2014-03-28 11:30:44 +01:00
catch 2f959b9693 Issue #2188613 by Berdir, Xen, andypost: Rename EntityStorageController to EntityStorage. 2014-03-27 12:54:40 +01:00
catch 53852c25df Issue #2211235 by damiankloip: Add specific annotations for Views handlers. 2014-03-25 20:16:43 +01:00
catch 13f5d8389a Issue #2178581 by damiankloip, penyaskito, Solthun: Add an AnonymousUserSession object in favour of using drupal_anonymous_user(). 2014-03-25 19:58:38 +01:00
catch 34907c36cc Issue #2224209 by alexpott: Field instance configuration should depend on its bundle. 2014-03-25 13:38:24 +00:00
Alex Pott fa51d2e5bd Issue #2178725 by pwolanin, crowdcg, effulgentsia, Sutharsan: Make all core menu link machine names and the corresponding route names match. 2014-03-24 11:34:32 +01:00
Alex Pott 5abaa5f957 Issue #2120871 by andypost, Berdir, amateescu, vladan.me, Xano: Rename EntityListController to EntityListBuilder. 2014-03-23 22:25:46 +00:00
webchick 77123f3f1b Issue #340723 by ParisLiakos, sun, Berdir, glennpratt, Cottser, swentel, alexpott, tstoeckler, Xano, tim.plunkett, BassistJimmyJam | beejeebus: Make modules and installation profiles only require .info.yml files. 2014-03-17 07:43:29 -07:00
Alex Pott eba0b71872 Revert "Issue #340723 by ParisLiakos, sun, Berdir, glennpratt, Cottser, swentel, tstoeckler, Xano, tim.plunkett, BassistJimmyJam: Make modules and installation profiles only require .info.yml files."
This reverts commit b4c561d0d5.
2014-03-17 13:02:04 +00:00
Nathaniel Catchpole b4c561d0d5 Issue #340723 by ParisLiakos, sun, Berdir, glennpratt, Cottser, swentel, tstoeckler, Xano, tim.plunkett, BassistJimmyJam: Make modules and installation profiles only require .info.yml files. 2014-03-17 11:57:35 +00:00
Alex Pott 01a3e1902f Issue #2203407 by nod_, sun: Replace #attached library array values with provider-namespaced strings. 2014-03-09 19:59:45 +00:00
Alex Pott 0f35ae9f75 Issue #2004336 by damiankloip: Default UUID key in ConfigEntityType. 2014-03-08 10:58:15 +00:00
Alex Pott 7abce708dc Issue #2163203 by joelpittet, longwave, saki007ster: Remove calls to deprecated global $user wherever possible (outside bootstrap and authentication). 2014-03-08 10:53:03 +00:00
Alex Pott 7a6fb338b3 Issue #2114707 by Berdir, yched, amateescu, effulgentsia, fago: Allow per-bundle overrides of field definitions. 2014-03-04 10:27:25 +00:00
webchick 523964ba75 Issue #2192693 by alexpott, swentel: Remove config.inc. 2014-03-01 11:02:16 -08:00
webchick 8608fed622 Issue #2107533 by tim.plunkett, dawehner, pwolanin, Berdir: Remove {menu_router}. 2014-02-28 20:58:58 -08:00
Dries 03ddf8c283 Issue #2198377 by alexpott: Enforce UUID key name in configuration entities. 2014-02-27 20:34:39 +01:00
webchick 5d0729f07a Issue #2070369 by herom, bdgreen, Mac_Weber, InternetDevels, sidharthap, JeroenT: Remove all calls to deprecated function language(). 2014-02-26 11:16:54 -08:00
webchick 02417da643 Issue #1892182 by sun, nod_, jibran: #type details: Rename #collapsed to #open. 2014-02-26 10:38:09 -08:00
Nathaniel Catchpole b9a978d202 Issue #2177041 by dawehner, Berdir, jibran: Remove all implementations of hook_menu. 2014-02-26 10:53:29 +00:00
Nathaniel Catchpole d41d3db083 Issue #2199483 by damiankloip, alexpott: Provide a default config_prefix based on entity type ID and provider. 2014-02-25 10:12:46 +00:00
webchick f19fadd3a4 Issue #1996238 by sun, nod_, damiankloip, Wim Leers, longwave, alexpott, Xano, mdrummond, Mark Carver, Jeff Burnz, highrockmedia, joelpittet, et al: Replace hook_library_info() by *.libraries.yml file. 2014-02-22 20:56:51 -08:00
webchick d6c9c5751e Issue #2110615 by swentel, dawehner, xjm, chx: Do not ship with default UUIDs. 2014-02-20 08:26:41 -08:00
Nathaniel Catchpole 24495d5a01 Issue #2196821 by JiriK: Convert all calls & docs references to check_plain() in core to Drupal\Component\Utility\String::checkPlain() in contact module. 2014-02-20 12:10:22 +00:00
Alex Pott c210e8681c Issue #1981858 by Berdir, tim.plunkett, longwave, Les Lim: Rename hook_entity_info/alter() to hook_entity_type_build/alter(). 2014-02-20 10:04:54 +00:00
Alex Pott 40dc8daf51 Issue #2095303 by swentel, plopesc, Berdir, claudiu.cristea, yched: Rename 'field_entity' to 'field_config' and 'field_instance' to 'field_instance_config'. 2014-02-19 23:29:14 +00:00
Alex Pott 8b40554c5a Issue #2119905 followup by damiankloip: Provide @ConfigEntityType and @ContentEntityType to have better defaults. 2014-02-18 23:05:59 +00:00
Alex Pott b0da3ae64e Issue #2119905 by damiankloip, tim.plunkett, Berdir: Provide @ConfigEntityType and @ContentEntityType to have better defaults. 2014-02-18 14:34:10 +00:00
Nathaniel Catchpole 9fc89d90d8 Issue #2191285 by sun, andypost, jibran, Berdir, alexpott: Text module is not required, but is marked as required. 2014-02-18 11:14:14 +00:00
Alex Pott cdab74eed5 Issue #1541298 by sun, Berdir: Remove Node module dependency from Testing profile. 2014-02-13 11:28:24 +00:00
Alex Pott 932e4d9eb0 Issue #2184231 by jibran, dawehner, Xano: Use ConfigFactoryInterface to type hint ConfigFactory. 2014-02-13 01:59:44 +00:00
Alex Pott fe61b43d90 Issue #2183923 by tim.plunkett: Break the circular dependency in EntityManager. 2014-02-08 13:31:25 +00:00
webchick a979bbda18 Issue #2110501 by tim.plunkett, pwolanin, tstoeckler: ControllerBase should implement ContainerInjectionInterface like FormBase. 2014-02-02 19:12:30 -08:00