

Which will make our new token available in UI. The first thing we’ll need in this file is, hook_tokens_info() This is where we’ll define our token for Drupal. Package: Custom core_version_requirement: ^8 || ^9
#Custom tokens how to#
In this article, I'll show you how to create custom image token in drupal 8 & 9.įollow the instructions below to create our custom "custom_image_token" module:Ĭreate custom_image_ file: name: Custom image tokenĭescription: "Return url of image in custom token" It comprises of custom pieces of text that can be used as placeholders for predefined values. A custom die will take up to a few weeks to have made-up before we can begin processing your order.Tokens is a fundamental element in any Drupal site. Custom tokens ship in 10 business days direct from the token manufacturer. Use our in house graphic department to translate your idea or sketch into a token. The custom die setup cost ranges $200-400 (depending on size) and will discount your price per sheet to our standard token pricing. Ship in 10 Business Days Order tokens with your logo, business name or marketing message on a token. BULK SHEETS If are looking to order a large amount of your custom size, please contact us, as we should be able to get a custom die ordered for your size that will significantly decrease the price per sheet. Reach out to our support team for more information. Please be advised that small tokens, especially with multiple cuts and sharp corners, can result in torn and/or crushed edges due to the nature of the cutting blade. Due to the cutting plotter machine, it will slice the edge of the counter, and so will leave one edge slightly turned up with a slightly white edge instead of pressed down like our diecutting process.

CUTTING PROCESS The cutting process is different than our normal diecutting. > For formatting instructions and sample template downloads for this item, click here. If you don't export with artboards, the size will be the wrong size. Important! Remove cut layers before upload - AI Example: File → Export → Export As: JPG or PNG, Use Artboards. We also need the print file, like all our other uploads. 100 Two-Sided Custom Tokens - Laser Engra(0.79/Count) 4. For every path, the machine will cut it out, so don't leave clipping masks or multiple paths for the same shape right on top of each other.

When uploading to the website, make sure it is just the cut paths, NO ARTWORK, and you started from our templates, or have an artboard that is the same size as the template, or else your artwork won't line up. FORMATTING & TEMPLATES Since this is a completely custom shape, you need to provide the template. There is a one time per unique template, $9 custom cut charge for us to set up our machines for these files. You need to upload a file with the exact specifications for us to print it properly! We have sample template sheets for you available in a link below. You need to lay out your images in the proper template and then upload it to this page. PRINTED IMAGES To print your images on our sheets correctly, you need to use the proper template sheet. Note if you have lots of small shapes, you may need to spread them out between different uploads. If there are 27 different shapes, choose 26-50. For example, if there is just one shape, choose 1-5. SHEET SIZE & PIECE COUNT Count the number of enclosed shapes present on your file. The options are endless! If you have special notes, please leave them above! Such as dual layer gluing or special folding shapes. Blank tokens are thinner than printed tokens, about 1.2mm thick. You can get it printed on one side or both sides, or blank on both sides for cheap prototyping. MATERIAL Our tokens are made from ~1.4mm thick white chipboard. We can do any shape tokens for you, in our same normal turn around time! If your tokens match our standard sizes, that will be a much cheaper option, so we recommend checking that first.

Please contact us if you have pieces needed that are for an urgent order, and we will see how we can help. Description Custom shape tokens are currently unavailable while maintenance is being done on the machinery.
