commit 94f471aaea13b61d5d1b8d98d28a6c3cca4b4722 Author: Jen Lampton Date: Fri Mar 1 23:22:44 2013 -0800 remove custom-block-block since it is never used diff --git a/core/modules/block/custom_block/custom_block.module b/core/modules/block/custom_block/custom_block.module index 9bed19c..e1b0292 100644 --- a/core/modules/block/custom_block/custom_block.module +++ b/core/modules/block/custom_block/custom_block.module @@ -121,10 +121,6 @@ function custom_block_menu() { */ function custom_block_theme($existing, $type, $theme, $path) { return array( - 'custom_block_block' => array( - 'variables' => array('body' => NULL, 'format' => NULL), - 'template' => 'custom-block-block', - ), 'custom_block_add_list' => array( 'variables' => array('content' => NULL), 'file' => 'custom_block.pages.inc', @@ -134,15 +130,6 @@ function custom_block_theme($existing, $type, $theme, $path) { } /** - * Preprocess variables for custom block template. - * - * @see custom-block-block.html.twig - */ -function template_preprocess_custom_block_block($variables) { - $variables['body'] = check_markup($variables['body'], $variables['format']); -} - -/** * Loads a custom block type. * * @param int $id diff --git a/core/modules/block/custom_block/templates/custom-block-block.html.twig b/core/modules/block/custom_block/templates/custom-block-block.html.twig deleted file mode 100644 index 27f06d1..0000000 --- a/core/modules/block/custom_block/templates/custom-block-block.html.twig +++ /dev/null @@ -1,14 +0,0 @@ -{# -/** - * Default theme implementation to present the content of a custom block. - * - * Available variables: - * - body: The content of the custom block. - * - * @see template_preprocess() - * @see template_preprocess_custom_block_block() - * - * @ingroup themeable - */ - #} - {{ body }}