How to get triggering_element
Eyal is correct. FormState has a method getTriggeringElement. See the original change record for details.

$form_state-&gt;getTriggeringElement();


and if you want to get id try 

$triggerdElement = $form_state-&gt;getTriggeringElement();
$htmlIdofTriggeredElement = $triggerdElement['#id'];