Commit Graph

201 Commits (9f2371f26e66cefb60fa7574ea707420469b51bc)

Author SHA1 Message Date
Alex Pott 2da1f42448 Issue #2399211 by mpdonadio, legolasbo, vijaycs85, pjonckiere, rteijeiro, jhodgdon, dawehner, yched: Support all options from views fields in DateTime formatters 2015-06-24 07:08:51 -05:00
Alex Pott 9ae6474288 Revert "Issue #1838242 by jhedstrom, pivica, tim.plunkett, GaëlG, dawehner, olli, Lendude: Provide Views integration for datetime field"
This reverts commit 4a4ee0589d.
2015-06-08 14:29:59 +01:00
xjm 405f1380f9 Issue #2500747 by joelpittet, effulgentsia: Remove 'html' option from theme('time') 2015-06-07 11:41:38 -05:00
Alex Pott 4a4ee0589d Issue #1838242 by jhedstrom, pivica, tim.plunkett, GaëlG, dawehner, olli, Lendude: Provide Views integration for datetime field 2015-06-05 22:07:08 +01:00
Alex Pott 3fd94bd82c Revert "Issue #1838242 by jhedstrom, pivica, tim.plunkett, GaëlG, dawehner, Lendude: Provide Views integration for datetime field"
This reverts commit 26b7df5c43.
2015-05-28 02:12:22 +01:00
Alex Pott 26b7df5c43 Issue #1838242 by jhedstrom, pivica, tim.plunkett, GaëlG, dawehner, Lendude: Provide Views integration for datetime field 2015-05-28 00:25:50 +01:00
xjm 088f8b357a Issue #2491155 by mikeburrelljr, Mac_Weber, opdavies: Update drupal.org and kernel.org URLs in core modules (Follow-up to 2489912) 2015-05-24 15:08:46 -05:00
Jennifer Hodgdon 6477492ee6 Issue #2473105 by ifrik, jhodgdon, lostkangaroo, opratr, LinL: Update hook_help texts that link to modules that can be uninstalled 2015-05-20 07:25:07 -07:00
Alex Pott f8f024e3aa Issue #2030637 by yched, Mile23, daffie, Alumei, tidrif, chertzog, Berdir, swentel, ofry: Expand FieldConfig/BaseFieldOverride/FieldConfigBase with methods 2015-05-04 17:22:30 -07:00
Nathaniel Catchpole fe04699eed Issue #2429257 by Wim Leers, Fabianx, effulgentsia: Bubble cache contexts 2015-03-03 10:28:03 +00:00
Alex Pott 2f1345a9ec Issue #2421699 by JeroenT: Remove usage of deprecated functions of WebTestBase 2015-02-18 12:39:20 +00:00
Alex Pott eebf624a3b Issue #2030633 by hussainweb, Mile23, carsonevans, czigor, Berdir, fernando_calsa, Geijutsuka, amitgoyal, Jānis Bebrītis, undertext: Expand FieldStorageConfig with methods 2015-02-10 13:39:31 +00:00
Alex Pott 0509fbe789 Issue #2164601 by yched, jibran, amateescu, pfrenssen: Stop auto-creating FieldItems on mere reading of $entity->field[N] 2015-02-05 08:58:52 +00:00
Alex Pott 3d14a7d25a Issue #2401505 by Berdir, jibran, larowlan: Add an entity collection template for lists 2015-01-19 09:37:11 +00:00
Alex Pott 057b0cabaf Issue #2232477 by plach, yched, tstoeckler, amateescu: Fatal when adding new fields with NOT NULL constraints in a base table that contains existing entities 2015-01-02 21:39:42 +00:00
Nathaniel Catchpole 95d4c594b0 Issue #2395395 by alexpott, effulgentsia, Gábor Hojtsy: TestBase lacks a config method to be used consistently in tests 2014-12-23 15:11:54 +00:00
Alex Pott 9f04e89ba4 Issue #2137309 by fago: Typed data does not handle set() and onChange() consistently 2014-12-14 12:48:48 +01:00
webchick 1419122c76 Issue #2183983 by Gábor Hojtsy, vijaycs85, Berdir, Wim Leers, webflo, alexpott: Find hidden configuration schema issues 2014-12-11 12:43:20 -08:00
Alex Pott 827b39b4c9 Issue #2384167 by tibbsa: Clean-up DateTime module test members — ensure property definition and use of camelCase naming convention 2014-12-11 15:41:47 +01:00
Nathaniel Catchpole 7822393c30 Issue #2370305 by Gábor Hojtsy, yched: Refactor field type configuration schemas for DX, easier to find errors 2014-11-24 22:17:32 +00:00
Alex Pott dd1350fb63 Issue #2378055 by Gábor Hojtsy: Reorganise config schema for entity_form_display / entity_view_display 2014-11-21 23:38:41 +00:00
Nathaniel Catchpole 03d3d538c5 Issue #2368349 by Gábor Hojtsy, alexpott: Entity view and form display configuration schemas are too verbose / key ones missing 2014-11-19 12:26:05 +00:00
Alex Pott 80eccb1896 Issue #2361823 by rpayanm, javivf: Remove usage of drupal_strtolower(). 2014-11-03 16:13:43 +00:00
Alex Pott ba2b869092 Issue #2275659 by fago, pgautam: Separate FieldableEntityInterface out of ContentEntityInterface. 2014-10-01 16:11:14 +02:00
Alex Pott 5fdcfc74d6 Issue #2346911 by larowlan, vijaycs85, Berdir | sihv: Fixed Base field overrides have incorrect default value callable properties. 2014-09-30 08:42:48 +02:00
Alex Pott 420248266f Issue #2344821 by yched: Unify 'name' / 'field_name' in FieldConfig / FieldStorageConfig. 2014-09-28 18:36:18 +02:00
webchick a6492ce9d9 Issue #2343651 by xjm, tim.plunkett, Wim Leers, dinarcon, dawehner: Remove most remaining l() calls. 2014-09-28 00:21:34 -07:00
Alex Pott 22d79dc212 Issue #2238149 by Berdir, swentel: Apply formatters and widgets in EntityTestFormCotroller. 2014-09-22 09:40:58 +01:00
webchick 1476c56c62 Issue #2312093 by alexpott, yched, andypost, swentel | xjm: Rename FieldInstanceConfig to FieldConfig. 2014-09-19 19:45:52 -07:00
webchick dbed0b48cd Issue #2335659 by tim.plunkett, dawehner, effulgentsia, sun: Remove FormState ArrayAccess usage from core. 2014-09-11 23:41:27 -07:00
Alex Pott 6bad26f495 Issue #2327363 by yched, andypost: Move datetime_datetime_widget_validate() to DateTimeDefaultWidget::massageFormValues(). 2014-09-11 12:52:12 +01:00
Alex Pott fe85f9be3c Issue #2320157 by moshe weitzman, Wim Leers, penyaskito, tim.plunkett: Generate placeholder content for Field types. 2014-09-09 22:15:21 +01:00
Nathaniel Catchpole f749eac343 Revert "Issue #2238149 by Berdir: Apply formatters and widgets in EntityTestFormCotroller."
This reverts commit 3ac426f9cb.
2014-09-09 14:21:09 +01:00
Nathaniel Catchpole 3ac426f9cb Issue #2238149 by Berdir: Apply formatters and widgets in EntityTestFormCotroller. 2014-09-09 14:06:02 +01:00
Alex Pott 2b0be1d8b7 Issue #2226493 by Berdir, Wim Leers, m1r1k, mr.baileys, andypost, scor, cbr, joelpittet: Apply formatters and widgets to Node base fields. 2014-09-08 22:00:57 +01:00
webchick a2facd2f1b Issue #2333353 by ashutoshsngh: Remove usage of form_get_errors(). 2014-09-08 09:01:19 -07:00
Nathaniel Catchpole 30cad25c71 Issue #2031717 by Berdir, swentel, fago: Make entity module not required. 2014-09-02 10:36:57 +01:00
webchick 12ee21a360 Issue #2328061 by tim.plunkett: Move datetime's FormElement #type classes in Core. 2014-08-28 21:42:51 -07:00
webchick 9db4af56da Issue #2326891 by tim.plunkett, jhodgdon: Convert system_element_info() to Element classes. 2014-08-28 14:35:24 -07:00
webchick 1b252200a1 Issue #2088365 by Cottser, CharuAg, bradklaver, machostache, cs_shadow, visabhishek, sriharsha.uppuluri, grisendo, undertext, naveenvalecha | nod_: Fixed Wrong name for datetime.html.twig should be time.html.twig. 2014-08-24 13:46: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 4192e7d2d8 Issue #2302047 by plopesc: Added support for relative default dates in Date field . 2014-08-18 16:13:32 +01: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 9eac446013 Issue #1676910 by cs_shadow, penyaskito, lokeoke | xjm: Rename randomName() to randomMachineName(). 2014-08-06 09:50:23 +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 0b0cdc2921 Issue #2306539 by swentel, alexpott, sun: Fixed FieldUnitTestBase::createFieldWithInstance() pollutes test class with arbitrary properties. 2014-08-04 10:24:56 -07: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 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
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 c67946065c Issue #2035317 by andypost, hussainweb | dawehner: DateTimeDefaultWidget should implement ContainerFactoryPluginInterface. 2014-07-10 11:17:09 +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 48bf0252f0 Issue #2005434 by alexpott, heddn, andrewmacpherson, swentel: Let 3rd party modules store extra configuration in EntityDisplay. 2014-06-18 11:44:18 +01:00
Alex Pott 4831e2ee7c Issue #2226267 by fago, xjm, Berdir: Improve default value handling of fields to be consistent. 2014-06-16 00:19:55 +01:00
Nathaniel Catchpole 4e3ee43e76 Issue #2228763 by larowlan, alexpott, martin107, jessebeach, xjm: Create a comment-type config entity and use that as comment bundles, require selection in field settings form. 2014-06-13 10:34:04 +01:00
Alex Pott ac51ec9617 Issue #2269165 by aloyr: Fixed Short month names lack context, other contexts overly specific. 2014-06-11 14:32:04 +01:00
webchick f02bf6cf33 Issue #2091397 by vijaycs85, batigolix, targoo, jhodgdon | ifrik: Create hook_help for Datetime module. 2014-06-09 15:07:10 -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
Nathaniel Catchpole 03117bc360 Issue #2274517 by Wim Leers: Remove \Drupal\Core\Field\PrepareCacheInterface. 2014-05-30 12:50:32 +01:00
Nathaniel Catchpole 949e7fe611 Issue #2276183 by alexpott: Fixed Date intl support is broken, remove it. 2014-05-30 10:59:48 +01: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
Alex Pott 00339b3d36 Issue #2167167 by Berdir: Remove field_info_*(). 2014-05-27 09:34:19 +01:00
Nathaniel Catchpole 82aaa8af0a Issue #2152217 by joelpittet, mgifford, vijaycs85, jjcarrion, sun: Remove theme_form_required_marker() from the theme system - use CSS instead. 2014-05-08 14:40:44 +01: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
Alex Pott e088b8f074 Issue #2160365 by plopesc, vijaycs85: Date field required marker rendered as "Array". 2014-04-25 23:06:02 +01:00
Alex Pott acbd5fa840 Issue #2226197 by fago, jessebeach: Introduce FieldStorageDefinitionInterface in the Entity Field API. 2014-04-13 13:36:33 -04:00
webchick b5ac743446 Issue #2220259 by Xano, fago: DefaultPluginManager::getDefinition() does not match the interface. 2014-04-08 14:58:12 -07:00
webchick fc6b814e02 Issue #2170775 by tim.plunkett, martin107, Xano: Remove array typehint from . 2014-04-08 13:56:43 -07:00
webchick 959fa9daa5 Revert "Issue #2160365 by plopesc, vijaycs85: Date field required marker rendered as "Array"."
Broke HEAD.

This reverts commit 0f0edea2a3.
2014-04-07 09:31:14 -07:00
Alex Pott 0f0edea2a3 Issue #2160365 by plopesc, vijaycs85: Date field required marker rendered as "Array". 2014-04-07 09:31:04 +01:00
catch 2f959b9693 Issue #2188613 by Berdir, Xen, andypost: Rename EntityStorageController to EntityStorage. 2014-03-27 12:54:40 +01:00
Alex Pott 7f61620431 Issue #2136197 by andypost, jessebeach, swentel, longwave, Berdir: Move field/instance/widget/formatter settings out of annotation / plugin definition. 2014-03-26 10:32:27 +01:00
catch 83b797dfce Issue #2095195 by yched, fago, Berdir, amateescu, swentel, pfrenssen, Xano: Remove deprecated field_attach_form_*(). 2014-03-25 19:26:29 +01:00
webchick adfb94a0a8 Issue #2211621 by longwave, Kartagis: Spelling error in assertion message. 2014-03-12 09:37:36 -07:00
Alex Pott ed4b791c34 Issue #2192259 by andypost, amateescu, damiankloip: Remove ConfigField.. Item and List classes + interfaces. 2014-03-10 14:43:46 +00:00
Nathaniel Catchpole 6b0b4cfc41 Issue #2139551 by djevans, cwells, ashepherd, vijaycs85: Support RDFa output in date formatter. 2014-03-10 13:19:34 +00:00
Nathaniel Catchpole 78b48c89ad Issue #2092095 by tstoeckler, ParisLiakos: Remove \Drupal\Component\Utility\MapArray. 2014-02-28 10:43:51 +00:00
Alex Pott f6161fadb0 Issue #2002134 by fago, yched, amateescu, effulgentsia: Move TypedData metadata introspection from data objects to definition objects. 2014-02-24 11:44:26 +00:00
webchick 6ff0d4c76a Issue #2177469 by Gábor Hojtsy, Aron Novak, swentel, andypost, Berdir: Move node base widgets to the top level of the form. 2014-02-21 10:00:13 -08: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
Nathaniel Catchpole 4bbef0e0c4 Issue #2152825 by plopesc, swentel, Berdir: Rename FieldItemBase::getFieldSetting[s]() to getSetting[s](). 2014-02-13 11:45:57 +00:00
Nathaniel Catchpole 7dcaa39580 Issue #2167267 by yched, andypost: Remove deprecated field_attach_*_view(). 2014-02-12 10:42:13 +00:00
Alex Pott 655f5a0316 Issue #2165835 by yched, tstoeckler: Rename EntityDisplay to EntityViewDisplay in accordance with its interface. 2014-02-09 00:54:32 +00:00
webchick dca2d601ca Issue #1857442 by longwave, dawehner: Make $values optional on entity_create. 2014-02-06 23:47:06 -08:00
Nathaniel Catchpole aa03c3dd54 Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct. 2014-01-30 12:04:18 +00:00
Alex Pott 19e8cf3848 Issue #2110467 by Berdir: Add first(), get($index) and possibly other methods to ListInterface. 2014-01-25 11:26:34 +01:00
Alex Pott bbed679fbf Issue #2144327 by amateescu, effulgentsia, yched, dasjo: Make all field types provide a schema(). 2014-01-08 15:45:21 +00:00
Alex Pott 562b775051 Issue #2156283 by Berdir, tim.plunkett: Fix case of Datetime widgets and formatters. 2014-01-08 11:55:05 +00:00
catch 14e5cdb080 Issue #1989468 by plopesc, yched, Wim Leers, effulgentsia: Weird messing with 'default_value_function' in date widgets. 2013-12-30 17:50:56 +00:00
webchick 4910e432fb Issue #2081163 by smiro, areke: Remove unused local variables from the datetime module. 2013-12-22 11:47:33 -08:00
Alex Pott cdac25ee08 Issue #2143263 by plopesc | yched: Remove "Field" prefix from FieldDefinitionInterface methods. 2013-12-09 19:19:58 -04:00
webchick 9a06e50629 Issue #1973534 by vijaycs85, piyuesh23: Provide config schema to field types and storage in datetime module. 2013-12-08 14:12:09 -08:00
Nathaniel Catchpole e8c263c4a5 Issue #2112239 by amateescu: Convert base field and property definitions. 2013-12-06 10:56:29 +00:00
Jennifer Hodgdon 80fbd33d97 Issue #2145077 by TR, longwave: Fix about a zillion spelling errors, mostly in comments 2013-12-03 07:54:20 -08:00
Nathaniel Catchpole e2779851e9 Issue #2080067 by beowulf1416, netsensei: Remove Unused local variable $has_time from /core/modules/datetime/datetime.module. 2013-12-03 12:25:38 +00:00
webchick 9bcaedec15 Issue #2047229 by fago, smiletrl, Berdir, effulgentsia, amateescu: Make use of classes for entity field and data definitions. 2013-11-27 13:55:54 -08:00
webchick a83becbdea Issue #1255696 by dagmar, lslinnet, swentel, jenlampton, sun: Move field type modules into separate 'Field type' package. 2013-11-24 13:29:58 -08:00
webchick df1a669b77 Issue #2131851 by tim.plunkett: Form errors must be specific to a form and not a global. 2013-11-23 12:57:04 -08:00
Alex Pott 3ded2216b0 Issue #2115145 by Berdir | effulgentsia: Move field type plugins to Plugin/Field/FieldType. 2013-10-19 09:12:13 +01:00