{"id":22468208,"url":"https://github.com/ymcatwincities/custom_formatters","last_synced_at":"2026-04-28T00:32:36.342Z","repository":{"id":57087604,"uuid":"283208333","full_name":"ymcatwincities/custom_formatters","owner":"ymcatwincities","description":"FOrk of custom_formatters for Drupal 9 readiness","archived":false,"fork":false,"pushed_at":"2020-09-09T11:11:27.000Z","size":196,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"8.x-3.x","last_synced_at":"2025-06-17T03:44:37.330Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ymcatwincities.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.txt","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-28T12:39:07.000Z","updated_at":"2020-09-09T11:11:30.000Z","dependencies_parsed_at":"2022-08-24T14:59:13.770Z","dependency_job_id":null,"html_url":"https://github.com/ymcatwincities/custom_formatters","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ymcatwincities/custom_formatters","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymcatwincities%2Fcustom_formatters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymcatwincities%2Fcustom_formatters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymcatwincities%2Fcustom_formatters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymcatwincities%2Fcustom_formatters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ymcatwincities","download_url":"https://codeload.github.com/ymcatwincities/custom_formatters/tar.gz/refs/heads/8.x-3.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymcatwincities%2Fcustom_formatters/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32361477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-06T11:15:39.370Z","updated_at":"2026-04-28T00:32:36.326Z","avatar_url":"https://github.com/ymcatwincities.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Custom Formatters\n=================\n\nThe Custom Formatters module allows users to easily create custom Field\nFormatters without the need to write a custom module. Custom Formatters can then\nbe exported as Drupal configuration entities.\n\n\n\nFeatures\n--------\n\n* Pluggable formatter types:\n    * **Formatter presets**  \n      Create simple formatters from existing formatters with preset formatter\n      settings.\n    \n    * **HTML + Tokens**  \n      A HTML based editor with Token support.\n    \n    * **PHP**  \n      A PHP based editor with support for multiple fields and multiple values.\n    \n    * **Twig**  \n      A Twig based editor with support for multiple fields and multiple values.\n    \n* Supports for all fieldable entities, including but not limited to:\n    * Drupal core - Comment, Node, Taxonomy term and User entities.\n    * Field collection module - Field-collection item entity.\n    * Media module - Media entity.\n    \n* Exportable as:\n    * Drupal configuration entities.\n        \n* Integrates with:\n    * **Contextual links** _(Drupal core)_\n      Adds a hover link for quick editing of Custom Formatters.\n\n    * **Token**  \n      Adds the Token tree browser to the HTML + Tokens engine.\n\n\n\nRecommended Modules\n-------------------\n\n* [Field tokens](http://drupal.org/project/field_tokens)\n* [Token](http://drupal.org/project/token)\n\n\n\nUsage/Configuration\n-------------------\n\nRead the manual at: [drupal.org/node/2514412](https://www.drupal.org/node/2514412)\n\n\n\nMakefile entries\n----------------\n\nFor easy downloading of Custom Formatters and it's required/recommended modules\nand/or libraries, you can use the following entries in your makefile:\n\n\n      projects:\n        custom_formatters\n        field_tokens\n        token\n\n\n**Note:** It is highly recommended to specify the version of your projects, the\nabove format is only for the sake of simplicity.\n\n\n\nTesting / DCIR\n--------------\n\nThis project is configured for testing via the Drupal common CI Runner (DCIR).\n\nTo run DCIR, simply run the following command from the project directory.\n\n`docker run -v $(pwd):/dcir -it deciphered/dcir:latest`\n\n\n\nTODOs / Roadmap\n---------------\n\n* Add Contextual links configuration as formatter setting.\n* Add Dependency definition to Formatter form.\n* Add granular permissions to Formatter types.\n* Add Formatter list view?\n  - Would require adding support for Formatter config entities in Views.\n* Add custom support for Seven theme / Formatter add page.\n* Add ability to change field types that aren't in use.\n* Set usages of formatters to default formatter on deletion.\n* Re-add save \u0026 edit?\n* Re-add preview.\n* Re-add export?\n* Tests:\n  - Ensure that if a formatter is in used it's field type can't change.\n  - Add test for configuration dependencies.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymcatwincities%2Fcustom_formatters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fymcatwincities%2Fcustom_formatters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymcatwincities%2Fcustom_formatters/lists"}