Commit Graph

425 Commits (bc084e183c0211f9c19e2f8bbb7e586ee3e187be)

Author SHA1 Message Date
Alex Pott 5c3a1c67ad Issue #2322509 by prics, cilefen, gaurav.goyal, harijari, Temoor: Replace all instances of node_load(), node_load_multiple(), entity_load('node') and entity_load_multiple('node') with static method calls. 2014-11-09 23:40:48 -08:00
Nathaniel Catchpole 2d3266e61f Issue #2361681 by Wim Leers: drupal_render(): invert second argument ($is_recursive_call -> $is_root_call) => more strict, better DX/TX. 2014-10-24 15:51:28 +01:00
Alex Pott 4d86f97385 Issue #2316561 by jmolivas | YesCT: Type hint hooks with interface: ConfigurableLanguageInterface instead of LanguageEntity/ConfigurableLanguage. 2014-10-23 12:32:15 +01:00
Alex Pott e775d664ab Issue #1971208 by calebtr, dsayswhat, metzlerd, agentrickard: Replace "utilize" with a proper verb. 2014-10-20 09:30:46 +01:00
Nathaniel Catchpole 6cbb5d9e1e Issue #2350949 by Wim Leers: Add hook_page_attachments(_alter)() and deprecate hook_page_build/alter(). 2014-10-16 13:36:06 +01:00
Nathaniel Catchpole 4e0e15b201 Issue #2352641 by chx, alexpott: Break router.builder dependency. 2014-10-10 20:41:01 +01:00
Nathaniel Catchpole 58b78c4ba5 Issue #2331113 by David_Rothstein: Fixed Node access rebuilds are completely broken when being rebuilt through a batch process?. 2014-10-10 12:49:31 +01:00
webchick 4724ae1d1f Issue #2246675 by rpayanm, johnstorey, holly.ross.drupal | mgbellaire: Remove all unnecessary 'template' lines in hook_theme() declarations. 2014-10-09 11:41:26 -07:00
Alex Pott d3f105ed86 Issue #2226207 by lauriii, mgbellaire, Cottser, m1r1k, Mark Carver, LinL, rachel_norfolk, rteijeiro, skwashd, davidhernandez, euphoric_mv: Make 'template' the default output option for hook_theme(). 2014-10-08 12:06:17 +01:00
Alex Pott 4f49087b71 Issue #2277103 by tim.plunkett, pwolanin, Wim Leers, dawehner, hotpizzas: Switch Drupal::l() and LinkGenerator to expect a Url object. 2014-09-29 15:41:29 +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 ff035fc4fa Issue #2340507 by chx, Wim Leers: Make the new AccessResult API and implementation even better. 2014-09-22 22:08:27 +01:00
webchick 1476c56c62 Issue #2312093 by alexpott, yched, andypost, swentel | xjm: Rename FieldInstanceConfig to FieldConfig. 2014-09-19 19:45:52 -07:00
Nathaniel Catchpole 0f28b515f8 Issue #2287071 by Wim Leers, alexpott, chx: Add cacheability metadata to access checks. 2014-09-17 15:39:29 +01:00
Alex Pott 8c38be014c Issue #2254153 by crowdcg, davidhernandez, joelpittet, mortendk, mdrummond, cilefen, LewisNyman: Move node classes out of preprocess and into templates. 2014-09-15 12:22:36 +01:00
Nathaniel Catchpole 983cdbf0ae Issue #1857256 by dawehner, xjm, tim.plunkett, jibran, ParisLiakos, hussainweb, pcambra, ekes, InternetDevels, rhabbachi, rdrh555, tstoeckler, oadaeh, Gábor Hojtsy, vijaycs85: Fixed Convert the taxonomy listing and feed at /taxonomy/term/%term to Views. 2014-09-15 10:17:06 +01:00
Alex Pott 829c436ec1 Issue #303574 by jhodgdon, douggreen, BlakeLucchesi: Fixed Search Ranking Recency scoring algorithm. 2014-09-12 19:21:53 +01:00
Alex Pott bd8cb79b78 Issue #2329485 by damiankloip, dawehner: Allow permissions.yml files to declare 'permission_callbacks' for dynamic permissions. 2014-09-09 20:11:27 +01:00
Nathaniel Catchpole 4f978d9800 Issue #2324121 by Berdir, slashrsm, alexpott: Fixed NodeType's settings array was meant to be able to store information from mutliple modules. 2014-09-09 11:27:48 +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
Dries 05212a9727 Issue #2271349 by Berdir, Arla, blueminds, larowlan, Dave Reid: Node and Comment ops links should be display components (which can be disabled). 2014-09-05 12:31:15 -04:00
webchick d72c0f98ec Issue #1510544 by swentel, Bojhan, Gábor Hojtsy, merlinofchaos, Cottser, Wim Leers, plopesc, aspilicious, sannejanssen, larowlan, tim.plunkett, nod_: Fixed Show previews in front-end theme, able to select different view modes. 2014-08-23 12:03:35 -07:00
Alex Pott cd8986c2d7 Issue #2278567 by kgoel, azinck, dawehner | Crell: Standardize node route names by relationship. 2014-08-12 11:23:01 -07:00
Alex Pott 9d777775b1 Issue #2307681 by cbr, Berdir, moshe weitzman: GetEntityTypeFromStaticClass - poor performance. 2014-08-11 15:02:28 -05:00
Alex Pott 8a0fa31c03 Issue #2271005 by martin107, YesCT, alimac, mrjmd: Rename Language module's LanguageInterface to ConfigurableLanguageInterface and Language to ConfigurableLanguage. 2014-08-10 16:19:32 -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
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 64387e5c5e Issue #2078473 by blueminds | Berdir: Added Use entity access API for checking access to private files. 2014-07-24 16:35:27 +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 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 5ffb1d3cfe Issue #2216535 by jhodgdon, Berdir: Replace Node overview topic and Node API topic with Entity Hooks topic. 2014-07-11 13:04:53 +01:00
Alex Pott 2aa98311cf Issue #2010162 by tim.plunkett | InternetDevels: Convert node_uri() to $node->uri(). 2014-07-10 11:20:03 +01:00
Alex Pott 3e34d843d0 Issue #2283717 by amitgoyal, joshi.rohit100, g3r4 | jackbravo: Remove user_access function calls on hook_permission functions. 2014-07-08 10:00:18 +01:00
Alex Pott ddaba8bf70 Issue #2294375 by jhodgdon: Fixed Comment publish/unpublish hooks are not invoked correctly. 2014-07-07 16:16:38 +01:00
Alex Pott 7332211095 Issue #2290103 by damiankloip, larowlan: Rename 'item_length' to 'view_mode' to aid discoverability. 2014-07-07 14:19:23 +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 3b84f7b213 Issue #2238217 by effulgentsia, neclimdul, martin107, tim.plunkett, cweagans, kim.pepper, xjm: Introduce a RouteMatch class. 2014-06-24 14:28:41 +01:00
Nathaniel Catchpole 6f33b60481 Issue #2124957 by Wim Leers, catch: Replace 'content' cache tag with 'rendered' and use it sparingly. 2014-06-20 18:41:22 +01:00
webchick 1228438e65 Issue #2278541 by tim.plunkett, kim.pepper, Bojhan, EclipseGc: Refactor block visibility to use condition plugins. 2014-06-17 10:53:40 -07:00
Alex Pott c723131b15 Issue #2229163 by Michael Hodge Jr, rixter, thechanceg, bburg | Berdir: Remove node_type->has_title. 2014-06-11 23:26:24 +01:00
Alex Pott c1a1735811 Issue #1980010 by acabouet, TravisCarden: Add description to "Administer content" permission. 2014-06-11 14:59:28 +01: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
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 cd63520500 Issue #2085571 by Xano, dawehner: Fixed admin/content should not depend on node.module. 2014-06-08 17:49:56 -05:00
Alex Pott b001084e91 Issue #2004252 by mortendk, babruix, dasjo, joelpittet, visabhishek, cwells, jenlampton, Dragan Eror, nikhiltri, minneapolisdan, Manuel Garcia, sarahjean, acouch | scor: Node.html.twig template. 2014-06-07 13:38:36 -05:00
Alex Pott 1ab2651755 Issue #2183231 by tstoeckler, plach, jessebeach, fago, Berdir, xjm, mauzeh: Make ContentEntityDatabaseStorage generate static database schemas for content entities. 2014-06-01 15:53:43 -05: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
Alex Pott 3a699a6a16 Issue #1503464 by plopesc, larowlan, joelpittet, svenaas: Automatically add theme hook suggestion for node view mode. 2014-05-20 09:59:40 +01: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
Alex Pott da026cf53c Issue #2116363 by Berdir, jessebeach | fago: Unified repository of field definitions (cache + API). 2014-05-15 12:26:18 -05:00
Nathaniel Catchpole e67b313df4 Issue #2068333 by roderik, skipyT, pcambra, plach, Désiré, marcingy, peximo: Convert node SQL queries to the Entity Query API. 2014-05-12 13:57:33 +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
Jennifer Hodgdon f8afaa2fdc Issue #2255073 by jmarkel: Fix up docs for node_uri() function 2014-05-02 16:43:04 -07:00
webchick 87fe2f4c8d Issue #2231505 by joelpittet, baisong | Cottser: Convert theme_field__node__title() to Twig. 2014-04-24 23:33:20 -07:00
webchick f0677c1161 Issue #2147291 by tim.plunkett, martin107, tkuldeep17, agentrickard: Node_access_grants should always be passed an account. 2014-04-15 09:47:12 -07:00
Alex Pott 7f273d25c5 Issue #2239307 by tim.plunkett: Remove obsolete _node_revision_access. 2014-04-12 22:56:17 -04:00
webchick 86ae96e4fd Issue #2089433 by ianthomas_uk, grom358, herom, thedavidmeister, visabhishek, longwave, Sweetchuck: Remove uses of deprecated XSS filter functions. 2014-04-07 08:01:20 -07:00
Alex Pott 41b6df5888 Issue #1991442 by tim.plunkett, benjy: Remove 'module' from block plugin configuration. 2014-04-01 22:14: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
Alex Pott 0a8e34cf15 Issue #2149649 by Gábor Hojtsy, YesCT, Xano, herom, vijaycs85, Sweetchuck, plach: Entity rendering/theming does not use the active entity language to render links. 2014-03-29 12:40:21 +01: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
catch 6a4ba9df64 Issue #2124599 by olli, tedbow, swentel: ode_block_access affects access to editing blocks Removes 'operations' links for Block layout page. 2014-03-28 15:00:59 +01: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
webchick fe77b9954a Issue #2225563 by Xano: Improve @param and @return documentation of node.module. 2014-03-26 23:48:26 -07:00
catch e1dd5a1efd Issue #2223249 by alexpott: Remove hook_language_insert/update/delete/presave in favour of entity hooks. 2014-03-25 20:51:00 +01:00
Alex Pott 02f761ba1d Issue #2154711 by plopesc, tim.plunkett, olli, Berdir, Dave Reid: Move entity_get_(form/view)_mode_options() functions to EntityManager and add get(Form/View)ModeOptions() methods. 2014-03-25 10:43:08 +01: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
Nathaniel Catchpole 2c2c1adcbf Issue #1316692 by tim.plunkett, dawehner: Convert hook_admin_paths() into declarative properties on routes. 2014-03-21 12:35:45 +00:00
Nathaniel Catchpole 8cbab1493b Issue #2080823 by alexpott, swentel, Wim Leers: Create API to discover content or config entities' soft dependencies and use this to present a confirm form on module uninstall. 2014-03-21 11:53:32 +00:00
webchick 9d3a228020 Issue #2171071 by jessebeach, dawehner, chakrapani, longwave, Gábor Hojtsy, xjm, Wim Leers: Rename drupal_add_library() to _drupal_add_library() and remove its uses. 2014-03-12 08:47:01 -07:00
webchick 523964ba75 Issue #2192693 by alexpott, swentel: Remove config.inc. 2014-03-01 11:02:16 -08:00
Nathaniel Catchpole 78b48c89ad Issue #2092095 by tstoeckler, ParisLiakos: Remove \Drupal\Component\Utility\MapArray. 2014-02-28 10:43:51 +00: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
webchick 0a4239109b Issue #2177031 by dawehner, tim.plunkett, Berdir: Remove menu_get_item() and every use of it. . 2014-02-24 11:38:23 -08:00
Alex Pott 78e5e9bfd9 Issue #2045927 by herom, martin107, ianthomas_uk, Xano, michaellander, Sutharsan: Replace all drupal_alter() deprecated function calls. 2014-02-24 10:10:52 +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
Alex Pott a1a5e155f8 Issue #2198343 by damiankloip, longwave: Convert all usages of cache() and cache_invalidate_tags() procedural functions. 2014-02-21 15:21:08 +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 f3732c6862 Issue #2028025 by David Hernández, Berdir, larowlan, ceng, YesCT, a_thakur: Expand CommentInterface to provide methods. 2014-02-16 07:20:53 +00:00
Alex Pott 5e112d8f30 Issue #1987406 by jenlampton, Petr Illek, forbesgraham, herom, jerdavis, Jon Pugh, sanguis, idflood, ezeedub, shanethehat, joelpittet | Cottser: Node.module - Convert theme_ functions to Twig. 2014-02-13 16:54:28 +00:00
Alex Pott 1ec781dbcc Issue #2091343 by batigolix, babruix: Update hook_help for Node module. 2014-02-10 09:12:01 +00:00
catch def9926978 Issue #2095959 by dawehner, Berdir, InternetDevels: Remove instances of menu_get_object('node'). 2014-02-09 20:10:17 +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 e12261d0fd Issue #2067345 by Xano, jdillick, InternetDevels, bomoko | Berdir: Change EntityInterface type hints to NodeInterface where appropriate. 2014-02-06 23:23:07 -08:00
Nathaniel Catchpole 4b4ef377be Issue #2078387 by Xano, andypost, twistor, splatio, InternetDevels, amateescu, Berdir, larowlan, vladan.me: Add an EntityOwnerInterface. 2014-02-03 16:02:31 +00:00
Alex Pott 76bcb27b13 Issue #2167641 by tim.plunkett: EntityInterface::uri() should use route name and not path. 2014-01-31 15:08:43 +00:00
Alex Pott 20315e1de7 Issue #2164827 by Berdir, Xano, tim.plunkett: Rename the entityInfo() and entityType() methods on EntityInterface and EntityStorageControllerInterface. 2014-01-30 12:14:58 +00:00
Alex Pott acd3a59ea8 Issue #2047633 by pwolanin, dawehner, kim.pepper, Xano, amateescu, tim.plunkett: Move definition of menu links to hook_menu_link_defaults(), decouple key name from path, and make 'parent' explicit. 2014-01-29 08:25:00 +00:00
webchick b8ef75c5f4 Issue #2169447 by damiankloip, sun, longwave: DX: Supply CacheBackendInterface::CACHE_PERMANENT as Cache::PERMANENT. 2014-01-25 21:21:53 -08:00
Alex Pott 42e2c36937 Revert "Issue #2047633 by dawehner, pwolanin, Xano, amateescu, tim.plunkett: Move definition of menu links to hook_menu_link_defaults(), decouple key name from path, and make 'parent' explicit."
This reverts commit 531fd59314.
2014-01-24 19:01:38 +01:00
Alex Pott 531fd59314 Issue #2047633 by dawehner, pwolanin, Xano, amateescu, tim.plunkett: Move definition of menu links to hook_menu_link_defaults(), decouple key name from path, and make 'parent' explicit. 2014-01-23 23:14:32 +01:00
webchick 1415f2adc9 Issue #2020393 by dawehner, bdone, pcambra, oadaeh: Convert "Recent content" block to a View. 2014-01-13 23:24:17 -08:00