code: function() {
      this.jsonInit({
        "message0": Blockly.Msg.SENSING_CURRENT,
        "args0": [
          {
            "type": "field_dropdown",
            "name": "CURRENTMENU",
            "options": [
              [Blockly.Msg.SENSING_CURRENT_YEAR, 'YEAR'],
              [Blockly.Msg.SENSING_CURRENT_MONTH, 'MONTH'],
              [Blockly.Msg.SENSING_CURRENT_DATE, 'DATE'],
              [Blockly.Msg.SENSING_CURRENT_DAYOFWEEK, 'DAYOFWEEK'],
              [Blockly.Msg.SENSING_CURRENT_HOUR, 'HOUR'],
              [Blockly.Msg.SENSING_CURRENT_MINUTE, 'MINUTE'],
              [Blockly.Msg.SENSING_CURRENT_SECOND, 'SECOND']
            ]
          }
        ],
        "category": Blockly.Categories.sensing,
        "checkboxInFlyout": true,
        "extensions": ["colours_sensing", "output_number"]
      });
    }
docs: Block to Report the current option.
  @this Blockly.Block