diff --git a/olivesdocs.theme b/olivesdocs.theme index ff28324..7aa1b83 100755 --- a/olivesdocs.theme +++ b/olivesdocs.theme @@ -699,16 +699,3 @@ function _olivesdocs_hex_to_hsl(string $hex_string) { } -function mytheme_preprocess_field(&$variables, $hook) { - // Check if this is the title field for the landing_page content type. - if ($variables['element']['#field_name'] == 'title' && $variables['element']['#bundle'] == 'landing_page') { - // Define the SVG code. - $svg_code = ''; - - // Add the SVG code as a Twig variable. - $variables['svg_image'] = [ - '#markup' => $svg_code, - '#allowed_tags' => ['svg', 'path'], - ]; - } -}