You are here

drupalmoduleupgrader.functions.yml in Drupal 7 to 8/9 Module Upgrader 8

config/install/drupalmoduleupgrader.functions.yml

File

config/install/drupalmoduleupgrader.functions.yml
View source
  1. # This file controls the behavior of the FunctionCall analyzer and the Disable
  2. # function call modifier.
  3. #
  4. # Each item in this file is either information about a single function, or a
  5. # group of functions. Groups will have the 'functions' key, listing the affected
  6. # functions.
  7. #
  8. # If 'disable' is true, the Disable plugin will unconditionally comment out
  9. # calls to the function, and leave a FIXME notice above it.
  10. definitions:
  11. assets:
  12. message: '`@function` has been removed.'
  13. documentation:
  14. -
  15. url: 'https://www.drupal.org/node/2169605'
  16. title: '`drupal_add_css()`, `drupal_add_js()` and `drupal_add_library()` removed in favor of `#attached`'
  17. -
  18. url: 'https://www.drupal.org/node/2408597'
  19. title: '`AssetResolverInterface` and `AttachedAssetsInterface` replace internal Asset API functions'
  20. tags:
  21. category:
  22. - render
  23. - ui
  24. functions:
  25. - drupal_add_css
  26. - _drupal_add_css
  27. - drupal_add_js
  28. - _drupal_add_js
  29. - drupal_add_library
  30. - _drupal_add_library
  31. - drupal_get_css
  32. - drupal_get_js
  33. - drupal_sort_css_js
  34. fixme: |
  35. The Assets API has totally changed. CSS, JavaScript, and libraries are now
  36. attached directly to render arrays using the #attached property.
  37. disable: true
  38. cache:
  39. message: 'The caching system has been rewritten.'
  40. documentation:
  41. -
  42. url: 'https://www.drupal.org/node/1884796'
  43. title: 'Drupal 8 Cache API'
  44. -
  45. url: 'https://www.drupal.org/node/1272696'
  46. title: 'New cache API'
  47. tags:
  48. category:
  49. - cache
  50. functions:
  51. - cache_clear_all
  52. - cache_get
  53. - cache_get_multiple
  54. - _cache_get_object
  55. - cache_is_empty
  56. - cache_set
  57. conf_path:
  58. message: '`@function` has been removed.'
  59. documentation:
  60. -
  61. url: 'https://www.drupal.org/node/2275139'
  62. title: '`@function` moved into `DrupalKernel`'
  63. tags:
  64. category:
  65. - system
  66. confirm_form:
  67. message: '`@function` is now `\Drupal\Core\Form\ConfirmFormBase`'
  68. documentation:
  69. -
  70. url: 'https://www.drupal.org/node/1945416'
  71. title: '`@function` removed'
  72. tags:
  73. category:
  74. - form
  75. crypt:
  76. message: '`@function` has moved into the Crypt component.'
  77. documentation:
  78. -
  79. url: 'https://www.drupal.org/node/1984806'
  80. title: '`@function` moved into `\Drupal\Component\Utility\Crypt`'
  81. tags:
  82. category:
  83. - utility
  84. functions:
  85. - drupal_hash_base64
  86. - drupal_hmac_base64
  87. - drupal_random_bytes
  88. ctools_get_plugins:
  89. message: 'The CTools plugin system has moved into core.'
  90. documentation:
  91. -
  92. url: 'https://api.drupal.org/api/drupal/core%21core.api.php/group/plugin_api/8'
  93. title: 'Drupal 8 Plugin API'
  94. tags:
  95. category:
  96. - ctools
  97. ctools_include:
  98. message: 'Most CTools APIs have moved into core.'
  99. documentation:
  100. -
  101. url: 'https://www.drupal.org/node/2164623'
  102. title: 'Many common dependencies added to core'
  103. tags:
  104. category:
  105. - ctools
  106. disable: true
  107. fixme: 'Most CTools APIs have been moved into core.'
  108. ctools_export:
  109. message: 'The CTools Export API has moved into core.'
  110. documentation:
  111. -
  112. url: 'https://www.drupal.org/developing/api/entity'
  113. title: 'Drupal 8 Entity API'
  114. tags:
  115. category:
  116. - ctools
  117. - entity
  118. functions:
  119. - ctools_export_crud_new
  120. - ctools_export_crud_load
  121. - ctools_export_crud_load_multiple
  122. - ctools_export_crud_load_all
  123. - ctools_export_crud_save
  124. - ctools_export_crud_delete
  125. - ctools_export_crud_export
  126. - ctools_export_crud_import
  127. - ctools_export_crud_set_status
  128. - ctools_export_crud_enable
  129. - ctools_export_crud_disable
  130. - ctools_export_load_object
  131. - ctools_export_load_object_reset
  132. - ctools_get_default_object
  133. - ctools_export_unpack_object
  134. - ctools_var_export
  135. - ctools_export_object
  136. - ctools_export_get_schema
  137. - ctools_export_get_schemas
  138. - ctools_export_get_schemas_by_module
  139. - ctools_export_set_status
  140. - ctools_export_set_object_status
  141. - ctools_export_form
  142. - ctools_export_new_object
  143. - ctools_export_to_hook_code
  144. - ctools_export_default_to_hook_code
  145. - ctools_export_default_list
  146. disable: true
  147. fixme: 'The CTools Export API has been merged with the core entity API.'
  148. ctools_object_cache:
  149. message: 'The CTools object caching system has moved into core.'
  150. documentation:
  151. -
  152. url: 'https://www.drupal.org/node/1805940'
  153. title: 'TempStore API added to core'
  154. -
  155. url: 'https://www.drupal.org/node/2164623'
  156. title: 'Modules added to Drupal 8 core'
  157. tags:
  158. category:
  159. - ctools
  160. - cache
  161. functions:
  162. - ctools_object_cache_get
  163. - ctools_object_cache_set
  164. current_path:
  165. message: '`@function` has been replaced by the <current> route.'
  166. documentation:
  167. -
  168. url: 'https://www.drupal.org/node/2382211'
  169. title: '`current_path()` replaced by the <current> route'
  170. tags:
  171. category:
  172. - menu
  173. - system
  174. drupal_add_tabledrag:
  175. message: '`@function` is now the `#tabledrag` property of a render array.'
  176. documentation:
  177. -
  178. url: 'https://www.drupal.org/node/2160571'
  179. title: '`@function` replaced by render array attachment'
  180. tags:
  181. category:
  182. - render
  183. - ui
  184. fixme: |
  185. TableDrag is now attached with the #tabledrag property of certain render
  186. arrays. @function is now internal and should never be called directly.
  187. disable: true
  188. drupal_array:
  189. message: '`@function` has been moved into the NestedArray utility class.'
  190. documentation:
  191. -
  192. url: 'https://www.drupal.org/node/1870678'
  193. title: '`drupal_array_*` functions replaced by static methods of `NestedArray` utility'
  194. tags:
  195. category:
  196. - utility
  197. functions:
  198. - drupal_array_merge_deep
  199. - drupal_array_merge_deep_array
  200. - drupal_array_get_nested_value
  201. - drupal_array_set_nested_value
  202. - drupal_array_unset_nested_value
  203. - drupal_array_nested_key_exists
  204. drupal_cron_run:
  205. message: '`@function` was moved into the `cron` service.'
  206. documentation:
  207. -
  208. url: 'https://www.drupal.org/node/2181921'
  209. title: '`@function` replaced by cron service'
  210. tags:
  211. category:
  212. - system
  213. drupal_exit:
  214. message: '`@function` has been removed.'
  215. documentation:
  216. -
  217. url: 'https://www.drupal.org/node/2017339'
  218. title: '`@function` removed'
  219. tags:
  220. category:
  221. - system
  222. drupal_get_query_array:
  223. message: '`@function` has been removed.'
  224. documentation:
  225. -
  226. url: 'https://www.drupal.org/node/2079005'
  227. title: '`@function` replaced by native `parse_str()` function'
  228. tags:
  229. category:
  230. - utility
  231. fixme: |
  232. @function has been removed in favor of PHP's native parse_str(). You should
  233. use that function instead and pass a destination array by reference.
  234. For more information, see:
  235. https://www.drupal.org/node/2079005
  236. http://www.php.net/parse_str
  237. disable: true
  238. drupal_get_title:
  239. message: '`@function` has been removed.'
  240. documentation:
  241. -
  242. url: 'https://www.drupal.org/node/2067859'
  243. title: '`@function` removed'
  244. tags:
  245. category:
  246. - system
  247. - ui
  248. drupal_goto:
  249. message: '`@function` has been removed.'
  250. documentation:
  251. -
  252. url: 'https://www.drupal.org/node/2023537'
  253. title: '`@function` removed'
  254. tags:
  255. category:
  256. - system
  257. drupal_http_request:
  258. message: '`@function` has been replaced by Guzzle.'
  259. documentation:
  260. -
  261. url: 'https://www.drupal.org/node/1862446'
  262. title: 'Guzzle HTTP client in Drupal core'
  263. -
  264. url: 'http://docs.guzzlephp.org/en/latest'
  265. title: 'Guzzle documentation'
  266. tags:
  267. category:
  268. - system
  269. fixme: |
  270. @function has been replaced by the Guzzle HTTP client, which is bundled
  271. with Drupal core.
  272. disable: true
  273. drupal_is_cli:
  274. message: '`@function` has been removed.'
  275. documentation:
  276. -
  277. url: 'https://www.drupal.org/node/2295037'
  278. title: '`@function` removed'
  279. tags:
  280. category:
  281. - system
  282. drupal_map_assoc:
  283. message: '`@function` has been removed.'
  284. documentation:
  285. -
  286. url: 'https://www.drupal.org/node/2207453'
  287. title: '`@function` removed'
  288. tags:
  289. category:
  290. - form
  291. - utility
  292. drupal_render:
  293. message: '`@function` has been removed.'
  294. tags:
  295. category:
  296. - render
  297. drupal_set_title:
  298. message: '`@function` has been removed.'
  299. documentation:
  300. -
  301. url: 'https://www.drupal.org/node/2067859'
  302. title: '`@function` removed'
  303. tags:
  304. category:
  305. - system
  306. - ui
  307. fixme: |
  308. @function has been removed. There are now a few ways to set the title
  309. dynamically, depending on the situation.
  310. disable: true
  311. drupal_site_offline:
  312. message: '`@function` has been removed.'
  313. documentation:
  314. -
  315. url: 'https://www.drupal.org/node/1628046'
  316. title: '`@function` removed in favor of exceptions'
  317. tags:
  318. category:
  319. - system
  320. fixme: |
  321. @function has been removed. If your code needs to fail, it should throw
  322. a meaningful exception instead.
  323. disable: true
  324. drupal_valid_path:
  325. message: '`@function` has been moved into the PathValidator service.'
  326. documentation:
  327. -
  328. url: 'https://www.drupal.org/node/2302541'
  329. title: '`@function` moved into PathValidator service'
  330. tags:
  331. category:
  332. - system
  333. drupal_var_export:
  334. message: '`@function` is now part of the Variable utility.'
  335. documentation:
  336. -
  337. url: 'https://www.drupal.org/node/2368411'
  338. title: '`@function` moved into Variable utility'
  339. tags:
  340. category:
  341. - system
  342. drupal_write_record:
  343. message: '`@function` has been removed.'
  344. documentation:
  345. -
  346. url: 'https://www.drupal.org/node/2340291'
  347. title: '`@function` removed'
  348. tags:
  349. category:
  350. - db
  351. - system
  352. element:
  353. message: '`@function` is now a method of the `Element` class.'
  354. documentation:
  355. -
  356. url: 'https://www.drupal.org/node/2173683'
  357. title: '`element_*` functions moved into `Element` class'
  358. tags:
  359. category:
  360. - render
  361. - utility
  362. functions:
  363. - element_child
  364. - element_children
  365. - element_get_visible_children
  366. - element_properties
  367. - element_property
  368. - element_set_attributes
  369. entity_create:
  370. message: '`@function` is now a method of `EntityInterface`.'
  371. documentation:
  372. -
  373. url: 'https://www.drupal.org/node/2266845'
  374. title: '`@function` replaced by `EntityInterface::create()`'
  375. tags:
  376. category:
  377. - entity
  378. entity_extract_ids:
  379. message: '`@function` replaced by methods of `EntityInterface`'
  380. documentation:
  381. -
  382. url: 'https://www.drupal.org/node/1724986'
  383. title: '`@function` removed'
  384. tags:
  385. category:
  386. - entity
  387. entity_get_info:
  388. message: '`@function` is now a method of the EntityManager service.'
  389. documentation:
  390. -
  391. url: 'https://www.drupal.org/node/1929006'
  392. title: '`@function` is deprecated'
  393. tags:
  394. category:
  395. - entity
  396. entity_crud:
  397. message: '`@function` has been removed.'
  398. documentation:
  399. -
  400. url: 'https://www.drupal.org/node/2266845'
  401. title: 'Entities are now classed objects implementing `EntityInterface`'
  402. tags:
  403. category:
  404. - entity
  405. functions:
  406. - entity_load
  407. - entity_load_multiple
  408. - entity_save
  409. - entity_delete
  410. - entity_label
  411. - node_load
  412. - node_load_multiple
  413. - node_save
  414. - node_delete
  415. - user_load
  416. - user_load_multiple
  417. - user_save
  418. - user_delete
  419. - comment_load
  420. - comment_load_multiple
  421. - comment_save
  422. - comment_delete
  423. - taxonomy_term_load
  424. - taxonomy_term_load_multiple
  425. - taxonomy_term_save
  426. - taxonomy_term_delete
  427. field:
  428. message: 'The Field API CRUD functions have been removed.'
  429. documentation:
  430. -
  431. url: 'https://www.drupal.org/node/2012896'
  432. title: 'Fields and field instances are now entities'
  433. tags:
  434. category:
  435. - field
  436. functions:
  437. - field_create_field
  438. - field_create_instance
  439. - field_delete_field
  440. - field_delete_instance
  441. - field_info_fields
  442. fixme: |
  443. Fields and field instances are now exportable configuration entities, and
  444. the Field Info API has been removed.
  445. disable: true
  446. field_formatter:
  447. message: '`@function` has been replaced with a field formatter plugin manager.'
  448. documentation:
  449. -
  450. url: 'https://www.drupal.org/node/1805846'
  451. title: 'Field formatters are now plugins'
  452. tags:
  453. category:
  454. - field
  455. functions:
  456. - field_info_formatter_types
  457. - field_info_formatter_settings
  458. field_type:
  459. message: '`@function` has been replaced with a field type plugin manager.'
  460. documentation:
  461. -
  462. url: 'https://www.drupal.org/node/2064123'
  463. title: 'Field types are now plugins'
  464. tags:
  465. category:
  466. - field
  467. functions:
  468. - field_info_field_types
  469. - field_info_field_settings
  470. field_update_field:
  471. message: '`@function` is now `FieldStorageConfig::save()`.'
  472. documentation:
  473. -
  474. url: 'https://www.drupal.org/node/2012896'
  475. title: 'Field CRUD API replaced by Entity API'
  476. tags:
  477. category:
  478. - field
  479. field_update_instance:
  480. message: '`@function` is now `FieldConfig::save()`.'
  481. documentation:
  482. -
  483. url: 'https://www.drupal.org/node/2012896'
  484. title: 'Field CRUD API replaced by Entity API'
  485. tags:
  486. category:
  487. - field
  488. field_view_field:
  489. message: '`@function` is now a method of `FieldItemInterface`.'
  490. documentation:
  491. -
  492. url: 'https://www.drupal.org/node/2208327'
  493. title: '`@function` moved into `FieldItemInterface`'
  494. tags:
  495. category:
  496. - field
  497. field_view_value:
  498. message: '`@function` is now a method of `FieldItemListInterface`.'
  499. documentation:
  500. -
  501. url: 'https://www.drupal.org/node/2208327'
  502. title: '`@function` moved into `FieldItemListInterface`'
  503. tags:
  504. category:
  505. - field
  506. field_widget:
  507. message: '`@function` is now a method of `WidgetInterface`.'
  508. documentation:
  509. -
  510. url: 'https://www.drupal.org/node/1796000'
  511. title: 'Field widgets are now plugins'
  512. tags:
  513. category:
  514. - field
  515. functions:
  516. - field_default_extract_form_values
  517. - field_default_form
  518. - field_default_form_errors
  519. - field_default_submit
  520. - field_info_widget_types
  521. file_system:
  522. message: '`@function` is now a method of the `file_system` service.'
  523. documentation:
  524. -
  525. url: 'https://www.drupal.org/node/2418133'
  526. title: 'File system functions moved into `file_system` service'
  527. tags:
  528. category:
  529. - system
  530. functions:
  531. - drupal_basename
  532. - drupal_chmod
  533. - drupal_dirname
  534. - drupal_mkdir
  535. - drupal_move_uploaded_file
  536. - drupal_realpath
  537. - drupal_rmdir
  538. - drupal_tempnam
  539. - drupal_unlink
  540. - file_stream_wrapper_valid_scheme
  541. - file_uri_scheme
  542. form:
  543. message: '`@function` has moved into the FormBuilder service.'
  544. documentation:
  545. -
  546. url: 'https://www.drupal.org/node/2121003'
  547. title: 'Form generation functions moved into FormBuilder service'
  548. tags:
  549. category:
  550. - form
  551. functions:
  552. - drupal_build_form
  553. - drupal_get_form
  554. - drupal_form_submit
  555. - drupal_prepare_form
  556. - drupal_process_form
  557. - drupal_rebuild_form
  558. - drupal_redirect_form
  559. - drupal_retrieve_form
  560. - drupal_validate_form
  561. - form_execute_handlers
  562. - form_get_cache
  563. - form_load_include
  564. - form_set_cache
  565. form_state:
  566. message: '`@function` is now a method of `FormStateInterface`.'
  567. documentation:
  568. -
  569. url: 'https://www.drupal.org/node/2121003'
  570. title: 'Form functions moved into `FormStateInterface`'
  571. tags:
  572. category:
  573. - form
  574. functions:
  575. - form_clear_error
  576. - form_error
  577. - form_get_errors
  578. - form_set_error
  579. - form_set_value
  580. - form_state_defaults
  581. - form_state_values_clean
  582. format_interval:
  583. message: '`@function` was moved into the `date.formatter` service.'
  584. documentation:
  585. -
  586. url: 'https://www.drupal.org/node/2173787'
  587. title: '`@function` moved to date formatter service'
  588. tags:
  589. category:
  590. - render
  591. - ui
  592. - utility
  593. format_plural:
  594. message: '`@function` was moved into the translation service.'
  595. documentation:
  596. -
  597. url: 'https://www.drupal.org/node/2173787'
  598. title: '`@function` moved to translation service'
  599. tags:
  600. category:
  601. - render
  602. - ui
  603. - utility
  604. html:
  605. message: '`@function` has been moved into the HTML component.'
  606. documentation:
  607. -
  608. url: 'https://www.drupal.org/node/2388737'
  609. title: 'HTML functions moved to a component'
  610. functions:
  611. - drupal_clean_css_identifer
  612. - drupal_html_class
  613. - drupal_html_id
  614. tags:
  615. category:
  616. - render
  617. ip_address:
  618. message: '`@function` has been removed.'
  619. documentation:
  620. -
  621. url: 'https://www.drupal.org/node/1969794'
  622. title: '`@function` removed'
  623. tags:
  624. category:
  625. - system
  626. - utility
  627. json:
  628. message: '`@function` has moved into the Serialization component.'
  629. documentation:
  630. -
  631. url: 'https://www.drupal.org/node/2219113'
  632. title: '`@function` moved into Serialization component'
  633. functions:
  634. - drupal_json_decode
  635. - drupal_json_encode
  636. tags:
  637. category:
  638. - system
  639. - utility
  640. l:
  641. message: '`@function` has been removed.'
  642. documentation:
  643. -
  644. url: 'https://www.drupal.org/node/2346779'
  645. title: '`@function` replaced by URL generation API'
  646. tags:
  647. category:
  648. - system
  649. menu_active_trail:
  650. message: '`@function` has been removed.'
  651. documentation:
  652. -
  653. url: 'https://www.drupal.org/node/2240003'
  654. title: 'Active trail functions replaced by `menu.active_trail` service.'
  655. tags:
  656. category:
  657. - menu
  658. functions:
  659. - menu_get_active_trail
  660. - menu_link_get_preferred
  661. - menu_set_active_item
  662. - menu_set_active_trail
  663. fixme: |
  664. The active trail system has been removed in Drupal 8 because the routing and
  665. linking systems have been completely rewritten. You will need to rewrite this
  666. code to use the menu.active_trail service, or override the service if you need
  667. to alter the active trail.
  668. disable: true
  669. menu_item:
  670. message: '`@function` has been removed.'
  671. documentation:
  672. -
  673. url: 'https://www.drupal.org/node/2203305'
  674. title: '`@function` removed'
  675. tags:
  676. category:
  677. - menu
  678. functions:
  679. - menu_get_item
  680. - menu_set_item
  681. fixme: |
  682. @function has been removed. To retrieve route information, use the
  683. RouteMatch object, which you can retrieve by calling \Drupal::routeMatch().
  684. disable: true
  685. menu_tree:
  686. message: '`@function` has been replaced by `menu.link_tree` service.'
  687. documentation:
  688. -
  689. url: 'https://www.drupal.org/node/2226481'
  690. title: 'Menu tree building is now a service'
  691. -
  692. url: 'https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Menu%21MenuLinkTree.php/class/MenuLinkTree/8'
  693. title: '`MenuLinkTree` documentation'
  694. tags:
  695. category:
  696. - menu
  697. functions:
  698. - menu_build_tree
  699. - menu_parent_options
  700. - menu_tree
  701. - menu_tree_all_data
  702. - menu_tree_check_access
  703. - menu_tree_collect_node_links
  704. - menu_tree_data
  705. - menu_tree_page_data
  706. - menu_tree_get_path
  707. - menu_tree_set_path
  708. fixme: |
  709. @function is gone in Drupal 8. To generate or work with menu trees, you'll need to
  710. use the menu.link_tree service.
  711. disable: true
  712. module_invoke:
  713. message: '`@function` is now a method of the `module_handler` service.'
  714. documentation:
  715. -
  716. url: 'https://www.drupal.org/node/1894902'
  717. title: '`@function` replaced by `module_handler` service'
  718. tags:
  719. category:
  720. - system
  721. module_invoke_all:
  722. message: '`@function` is now a method of the `module_handler` service.'
  723. documentation:
  724. -
  725. url: 'https://www.drupal.org/node/1894902'
  726. title: '`@function` replaced by `module_handler` service'
  727. tags:
  728. category:
  729. - system
  730. _node_revision_access:
  731. message: '`@function` was moved into an access-checking service.'
  732. documentation:
  733. -
  734. url: 'https://www.drupal.org/node/2328179'
  735. title: '`@function` replaced'
  736. tags:
  737. category:
  738. - entity
  739. - node
  740. stream_wrappers:
  741. message: '`@function` has been removed.'
  742. documentation:
  743. -
  744. url: 'https://www.drupal.org/node/2393323'
  745. title: '`@function` moved into stream wrapper manager service.'
  746. tags:
  747. category:
  748. - system
  749. functions:
  750. - file_get_stream_wrappers
  751. - file_stream_wrapper_get_class
  752. - file_stream_wrapper_get_instance_by_uri
  753. - file_stream_wrapper_get_instance_by_scheme
  754. t_meta:
  755. message: '`@function` has been removed.'
  756. documentation:
  757. -
  758. url: 'https://www.drupal.org/node/2021435'
  759. title: '`@function` replaced by `t()`'
  760. tags:
  761. category:
  762. - system
  763. functions:
  764. - get_t
  765. - st
  766. taxonomy:
  767. message: '`@function` is now a method of the taxonomy term storage controller.'
  768. documentation:
  769. -
  770. url: 'https://www.drupal.org/node/2328205'
  771. title: 'Certain Taxonomy API functions have moved into `TermStorage` class'
  772. tags:
  773. category:
  774. - entity
  775. - taxonomy
  776. functions:
  777. - taxonomy_get_tree
  778. - taxonomy_term_load_children
  779. - taxonomy_term_load_parents
  780. - taxonomy_term_load_parents_all
  781. theme:
  782. message: '`@function` has been renamed to `_theme()`, and should never be called directly.'
  783. documentation:
  784. -
  785. url: 'https://www.drupal.org/node/2195739'
  786. title: '`@function` renamed to `_theme()` and should not be called directly'
  787. tags:
  788. category:
  789. - theme
  790. fixme: |
  791. @function has been renamed to _theme() and should NEVER be called directly.
  792. Calling _theme() directly can alter the expected output and potentially
  793. introduce security issues (see https://www.drupal.org/node/2195739). You
  794. should use renderable arrays instead.
  795. disable: true
  796. theme_get_registry:
  797. message: 'The theme registry is now a service.'
  798. documentation:
  799. -
  800. url: 'https://www.drupal.org/node/2137545'
  801. title: '`@function` is now two different methods of the `theme.registry` service'
  802. tags:
  803. category:
  804. - theme
  805. theme_registry:
  806. message: 'Several low-level theme registry functions have moved.'
  807. documentation:
  808. -
  809. url: 'https://www.drupal.org/node/2137545'
  810. title: 'Theme registry moved to `theme.registry` service'
  811. tags:
  812. category:
  813. - theme
  814. functions:
  815. - _theme_load_registry
  816. - _theme_save_registry
  817. - _theme_process_registry
  818. - _theme_build_registry
  819. - _theme_load_offline_registry
  820. fixme: |
  821. Several low-level theme system functions have been moved into the
  822. theme.registry service.
  823. disable: true
  824. token:
  825. message: 'The core token API is now a service.'
  826. documentation:
  827. -
  828. url: https://www.drupal.org/node/1973488
  829. title: 'Token API is now a service'
  830. tags:
  831. category:
  832. - misc
  833. functions:
  834. - token_find_with_prefix
  835. - token_generate
  836. - token_info
  837. - token_replace
  838. - token_scan
  839. unicode:
  840. message: '`@function` has been moved into the Unicode utility class.'
  841. documentation:
  842. -
  843. url: 'https://www.drupal.org/node/1992584'
  844. title: '`@function` moved into Unicode component'
  845. tags:
  846. category:
  847. - utility
  848. functions:
  849. - decode_entities
  850. - drupal_convert_to_utf8
  851. - drupal_strlen
  852. - drupal_strtolower
  853. - drupal_strtoupper
  854. - drupal_substr
  855. - drupal_truncate_bytes
  856. - drupal_ucfirst
  857. - drupal_validate_utf8
  858. - mime_header_encode
  859. - mime_header_decode
  860. - truncate_utf8
  861. - unicode_check
  862. url:
  863. message: '`@function` has been removed.'
  864. documentation:
  865. -
  866. url: 'https://www.drupal.org/node/2346779'
  867. title: '`@function` replaced by URL generation API'
  868. tags:
  869. category:
  870. - system
  871. url_utility:
  872. message: '`@function` has been replaced by the `UrlHelper` utility.'
  873. documentation:
  874. -
  875. url: 'https://www.drupal.org/node/2079005'
  876. title: '`@function` is now a method of `\Drupal\Component\Utility\UrlHelper`'
  877. tags:
  878. category:
  879. - utility
  880. functions:
  881. - drupal_encode_path
  882. - drupal_get_query_parameters
  883. - drupal_parse_url
  884. - filter_xss_bad_protocol
  885. - url_is_external
  886. user_access:
  887. message: '`@function` is now `AccountInterface::hasPermission()`.'
  888. documentation:
  889. -
  890. url: 'https://www.drupal.org/node/2049309'
  891. title: '`@function` got converted to a method on the user/account interface'
  892. tags:
  893. category:
  894. - system
  895. - user
  896. variable_del:
  897. message: '`@function` has been removed.'
  898. documentation:
  899. -
  900. url: 'https://www.drupal.org/node/2183531'
  901. title: 'The Variable API has been removed'
  902. tags:
  903. category:
  904. - config
  905. variable_get:
  906. message: '`@function` has been removed.'
  907. documentation:
  908. -
  909. url: 'https://www.drupal.org/node/2183531'
  910. title: 'The Variable API has been removed'
  911. tags:
  912. category:
  913. - config
  914. variable_set:
  915. message: '`@function` has been removed.'
  916. documentation:
  917. -
  918. url: 'https://www.drupal.org/node/2183531'
  919. title: 'The Variable API has been removed'
  920. tags:
  921. category:
  922. - config
  923. watchdog:
  924. message: '`@function` has been removed.'
  925. documentation:
  926. -
  927. url: 'https://www.drupal.org/node/2270941'
  928. title: '`@function` is deprecated'
  929. tags:
  930. category:
  931. - system
  932. drupal_message:
  933. message: '`@function` has been removed.'
  934. documentation:
  935. -
  936. url: 'https://www.drupal.org/node/2774931'
  937. title: '`@function` moved into stream wrapper manager service.'
  938. tags:
  939. category:
  940. - system
  941. functions:
  942. - drupal_get_messages
  943. - drupal_set_message
  944. database:
  945. message: '`@function` has been removed.'
  946. documentation:
  947. -
  948. url: 'https://www.drupal.org/node/2993033'
  949. title: '`@function` is deprecated.'
  950. tags:
  951. category:
  952. - db
  953. - system
  954. functions:
  955. - db_delete
  956. - db_insert
  957. - db_query
  958. - db_query_range
  959. - db_query_temporary
  960. - db_select
  961. - db_update