The results showed that macrophages M2‐type polarized along with YAP and PD‐L1 expression increased of during BC development. Here, YAP1 is linked to breast cancer.