{"version":"1.0","type":"rich","title":"Linkchecker Original Code","description":"This example shows a PHP routine that synchronizes a Drupal link-checking module with its database by identifying missing links from a bean and inserting only new ones. It first queries the `linkchecker_link` table using `db_query` with a URL hash to check for existing entries, then uses `drupal_write_record` to create new link records and `db_insert` to associate them with the bean. The code temporarily ignores database replication lag via `variable_set` and `db_ignore_slave`, and it filters link status with `_linkchecker_link_check_status_filter`.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-0885d08cde4c8d27dddb5e5389d85442?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}